Commit 8d940321 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Download soljson.js as part of `npm run build`

parent e5d96d11
...@@ -16,7 +16,7 @@ env: ...@@ -16,7 +16,7 @@ env:
- COMMIT_AUTHOR_EMAIL="chris@ethereum.org" - COMMIT_AUTHOR_EMAIL="chris@ethereum.org"
- COMMIT_AUTHOR="Travis CI" - COMMIT_AUTHOR="Travis CI"
- PUSH_REPO="git@github.com:ethereum/browser-solidity.git" - PUSH_REPO="git@github.com:ethereum/browser-solidity.git"
- FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md" - FILES_TO_PACKAGE="assets background.js build icon.png index.html manifest.json README.md soljson.js"
cache: cache:
directories: directories:
- node_modules - node_modules
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"browser-test-remote-ie": "nightwatch --config nightwatch.js --env ie", "browser-test-remote-ie": "nightwatch --config nightwatch.js --env ie",
"browser-test-remote-chrome": "nightwatch --config nightwatch.js --env chrome", "browser-test-remote-chrome": "nightwatch --config nightwatch.js --env chrome",
"browser-test-remote-safari": "nightwatch --config nightwatch.js --env safari", "browser-test-remote-safari": "nightwatch --config nightwatch.js --env safari",
"build": "mkdir -p build; browserify src/index.js -g yo-yoify -o build/app.js", "build": "mkdir -p build; rm soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js; browserify src/index.js -g yo-yoify -o build/app.js",
"lint": "semistandard", "lint": "semistandard",
"serve": "http-server ." "serve": "http-server ."
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment