mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 13:13:10 +00:00
minor changes
This commit is contained in:
parent
d0dffac037
commit
cf5e088812
3 changed files with 11 additions and 11 deletions
19
test/test.sh
19
test/test.sh
|
|
@ -1,17 +1,16 @@
|
|||
#!/bin/sh
|
||||
#linting js files
|
||||
npm i jshint -g
|
||||
echo "jshint server.js client.js lib/cloudfunc.js"
|
||||
jshint --config ./test/.jshintrc ./server.js ./client.js ./cloudcmd.js
|
||||
echo "jshint ./lib/cloudfunc.js ./lib/server/minify/minify.js ./lib/client/keyBinding.js"
|
||||
jshint --config ./test/.jshintrc ./lib/cloudfunc.js ./node_modules/minify/minify.js ./lib/client/keyBinding.js
|
||||
npm i jshint
|
||||
echo "jshint server.js client.js cloudcmd.js"
|
||||
./node_modules/jshint/bin/hint --config .jshintrc ../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
|
||||
echo "jshint ./package.json ./config.json"
|
||||
jshint --config ./test/.jshintrc ./package.json ./config.json
|
||||
npm i uglify-js clean-css html-minifier css-b64-images
|
||||
./node_modules/jshint/bin/hint --config ./test/.jshintrc ./package.json ./config.json
|
||||
#linting css files
|
||||
npm i recess -g
|
||||
echo "recess ./css/*.css"
|
||||
recess css/*.css
|
||||
npm i recess
|
||||
echo "recess css/*.css"
|
||||
./node_modules/recess/bin/recess css/*.css
|
||||
node ./test/test.js
|
||||
node cloudcmd.js test
|
||||
ls ./min
|
||||
Loading…
Add table
Add a link
Reference in a new issue