add setupremix script

pull/1/head
yann300 7 years ago
parent 63d76c7bc5
commit 05fa91e03a
  1. 2
      .travis.yml
  2. 1
      package.json

@ -2,7 +2,7 @@ language: node_js
node_js:
- "7"
script:
- npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run build
- npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run setupremix && npm run build
- ./ci/browser_tests.sh
deploy:
- provider: script

@ -139,6 +139,7 @@
]
},
"scripts": {
"setupremix": "npm run pullremix; npm run linkremixcore; npm run linkremixlib; npm run linkremixsolidity; npm run linkremixdebugger;",
"pullremix": "mkdir remix; git clone https://github.com/ethereum/remix; cd ..",
"linkremixcore": "cd node_modules && rm -rf remix-core && ln -s ../remix/remix-core remix-core && cd ..",
"linkremixlib": "cd node_modules && rm -rf remix-lib && ln -s ../remix/remix-lib remix-lib && cd ..",

Loading…
Cancel
Save