add setupremix script

pull/3094/head
yann300 7 years ago
parent 0d95118003
commit 975eaac853
  1. 2
      .travis.yml
  2. 1
      package.json

@ -2,7 +2,7 @@ language: node_js
node_js: node_js:
- "7" - "7"
script: 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 - ./ci/browser_tests.sh
deploy: deploy:
- provider: script - provider: script

@ -139,6 +139,7 @@
] ]
}, },
"scripts": { "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 ..", "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 ..", "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 ..", "linkremixlib": "cd node_modules && rm -rf remix-lib && ln -s ../remix/remix-lib remix-lib && cd ..",

Loading…
Cancel
Save