Skip to content

Commit

Permalink
Avoid using java in nuveClient installation (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcague authored Apr 5, 2017
1 parent b919915 commit 445a14b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ addons:
- libboost-thread-dev
- libboost-system-dev
- liblog4cxx10-dev
- openjdk-6-jre
- curl
- libboost-test-dev
- yasm
Expand Down
1 change: 1 addition & 0 deletions nuve/installNuve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ fi

nvm use
npm install --loglevel error amqp express mongojs$MONGO_VERSION aws-sdk log4js node-getopt body-parser
npm install --loglevel error -g google-closure-compiler-js
echo [nuve] Done, node_modules installed

cd ../nuveClient/tools
Expand Down
2 changes: 1 addition & 1 deletion nuve/nuveClient/tools/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e
mkdir ../dist || true
mkdir ../build || true

java -jar compiler.jar --js ../src/hmac-sha1.js --js ../src/N.js --js ../src/N.Base64.js --js ../src/N.API.js --js_output_file ../build/nuve.js
google-closure-compiler-js ../src/hmac-sha1.js ../src/N.js ../src/N.Base64.js ../src/N.API.js > ../build/nuve.js

./compileDist.sh
2 changes: 1 addition & 1 deletion nuve/nuveClient/tools/compileDist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
mkdir ../dist || true
mkdir ../build || true

java -jar compiler.jar --js ../lib/xmlhttprequest.js --js_output_file ../dist/xmlhttprequest.js
google-closure-compiler-js ../lib/xmlhttprequest.js > ../dist/xmlhttprequest.js

TARGET=../dist/nuve.js

Expand Down
Binary file removed nuve/nuveClient/tools/compiler.jar
Binary file not shown.

0 comments on commit 445a14b

Please sign in to comment.