From 3f62855030a065defb093e96c634061709208a3c Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 14 Jul 2016 16:45:45 +0100 Subject: [PATCH] Move download to `npm run downloadsolc` --- .travis.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index be10e2d3c5..1e86dfc1c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: node_js node_js: - stable script: - - npm run lint && npm run test && npm run build + - npm run lint && npm run test && npm run downloadsolc && npm run build - ./ci/browser_tests.sh deploy: provider: script diff --git a/package.json b/package.json index fc6ad14073..a1a9522fd0 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "browser-test-remote-ie": "nightwatch --config nightwatch.js --env ie", "browser-test-remote-chrome": "nightwatch --config nightwatch.js --env chrome", "browser-test-remote-safari": "nightwatch --config nightwatch.js --env safari", - "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", + "build": "mkdir -p build; browserify src/index.js -g yo-yoify -o build/app.js", + "downloadsolc": "rm soljson.js; wget https://ethereum.github.io/solc-bin/soljson.js", "lint": "semistandard", "serve": "http-server ." },