mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fixed tests
This commit is contained in:
parent
8803c9f207
commit
a8e16a2cad
1 changed files with 5 additions and 5 deletions
10
test/test.sh
10
test/test.sh
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/sh
|
||||
npm i recess jshint
|
||||
echo "jshint server.js client.js cloudcmd.js"
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc lib/server.js lib/client.js cloudcmd.js
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/server.js lib/client.js cloudcmd.js
|
||||
echo "jshint lib/cloudfunc.js lib/client/keyBinding.js"
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc lib/util.js lib/cloudfunc.js lib/client/keyBinding.js
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/util.js lib/cloudfunc.js lib/client/keyBinding.js
|
||||
echo "lib/client/dom.js lib/client/ie.js lib/client/menu.js lib/client/socket.js ./lib/client/terminal.js lib/client/viewer.js lib/client/storage/_github.js lib/client/menu.js lib/client/editor/_codemirror.js"
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc lib/client/dom.js lib/client/ie.js lib/client/menu.js lib/client/socket.js ./lib/client/terminal.js lib/client/viewer.js lib/client/storage/_github.js lib/client/menu.js lib/client/editor/_codemirror.js
|
||||
echo "jshint ./package.json ./config.json"
|
||||
node_modules/jshint/bin/hint --config test/.jshintrc ./package.json ./config.json
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/client/dom.js lib/client/ie.js lib/client/menu.js lib/client/socket.js ./lib/client/terminal.js lib/client/viewer.js lib/client/storage/_github.js lib/client/menu.js lib/client/editor/_codemirror.js
|
||||
echo "jshint ./package.json ./json/config.json"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc ./package.json ./json/config.json
|
||||
#linting css files
|
||||
echo "recess css/*.css"
|
||||
./node_modules/recess/bin/recess css/*.css
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue