minor changes

This commit is contained in:
coderaiser 2012-11-19 11:02:12 -05:00
parent fb7f66f098
commit f750ef36cb

13
test/test.sh Normal file → Executable file
View file

@ -1,16 +1,15 @@
#!/bin/sh
#linting js files
npm i jshint
set jshint = "../node_modules/jshint/bin/hint --config ./test/.jshintrc"
echo "jshint server.js client.js cloudcmd.js"
./node_modules/jshint/bin/hint --config ./test/.jshintrc ./server.js ./client.js ./cloudcmd.js
jshint server.js client.js cloudcmd.js
echo "jshint lib/cloudfunc.js lib/client/keyBinding.js"
./node_modules/jshint/bin/hint --config ./test/.jshintrc ./lib/cloudfunc.js ./node_modules/minify/minify.js ./lib/client/keyBinding.js
jshint ./lib/util.js ./lib/cloudfunc.js ./node_modules/minify/minify.js ./lib/client/keyBinding.js
jshint ./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
jshint ./package.json ./config.json
#linting css files
npm i recess
echo "recess css/*.css"
./node_modules/recess/bin/recess css/*.css
./node_modules/recess/bin/recess ../css/*.css
node ./test/test.js
node cloudcmd.js test
ls ./min