mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(jshint) add lib/server/*.js, json/modules.json, change echo
This commit is contained in:
parent
c4930ff446
commit
6198ee129b
1 changed files with 6 additions and 6 deletions
12
test/test.sh
12
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/jshint --config test/.jshintrc lib/server.js lib/client.js cloudcmd.js
|
||||
echo "jshint lib: server.js, client.js, cloudcmd.js, server/*.js"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/server.js lib/client.js cloudcmd.js lib/server/*.js
|
||||
echo "jshint lib/cloudfunc.js lib/client/key.js"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/util.js lib/cloudfunc.js lib/client/key.js
|
||||
echo "lib/client/dom.js lib/client/polyfill.js lib/client/menu.js lib/client/socket.js ./lib/client/console.js lib/client/view.js lib/client/storage/_github.js lib/client/menu.js lib/client/edit.js"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/client/dom.js lib/client/polyfill.js lib/client/menu.js lib/client/socket.js ./lib/client/console.js lib/client/view.js lib/client/storage/_github.js lib/client/menu.js lib/client/edit.js
|
||||
echo "jshint ./package.json ./json/config.json"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc ./package.json ./json/config.json
|
||||
echo "jshint lib/client: dom.js, polyfill.js, menu.js, socket.js, console.js, view.js storage/_github.js, edit.js"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc lib/client/dom.js lib/client/polyfill.js lib/client/menu.js lib/client/socket.js ./lib/client/console.js lib/client/view.js lib/client/storage/_github.js lib/client/edit.js
|
||||
echo "jshint ./package.json ./json/config.json ./json/modules.json"
|
||||
node_modules/jshint/bin/jshint --config test/.jshintrc ./package.json ./json/config.json ./json/modules.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