Changed remixd command in circleci

pull/5370/head
ioedeveloper 4 years ago
parent 5f35c7361f
commit 316921f66d
  1. 2
      apps/remix-ide/ci/browser_tests_chrome.sh
  2. 2
      apps/remix-ide/ci/browser_tests_firefox.sh
  3. 10
      apps/remix-ide/ci/browser_tests_run_deploy.sh
  4. 3
      package.json

@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts cd apps/remix-ide/contracts
echo 'sharing folder: ' echo 'sharing folder: '
echo $PWD echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 & npx nx serve remixd --folder=$PWD --remixide=http://127.0.0.1:8080 &
cd ../../.. cd ../../..
} }

@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts cd apps/remix-ide/contracts
echo 'sharing folder: ' echo 'sharing folder: '
echo $PWD echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 & npx nx serve remixd --folder=$PWD --remixide=http://127.0.0.1:8080 &
cd ../../.. cd ../../..
} }

@ -2,22 +2,12 @@
set -e set -e
setupRemixd () {
mkdir remixdSharedfolder
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
cd ../../..
}
BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}}
echo "$BUILD_ID" echo "$BUILD_ID"
TEST_EXITCODE=0 TEST_EXITCODE=0
npm run ganache-cli & npm run ganache-cli &
npm run serve & npm run serve &
setupRemixd
sleep 5 sleep 5

@ -82,7 +82,7 @@
"nightwatch_local_fileManager": "nx build remix-ide-e2e; nx e2e remix-ide-e2e --filePath=dist/apps/remix-ide-e2e/src/tests/fileManager_api.test.js --env=chrome", "nightwatch_local_fileManager": "nx build remix-ide-e2e; nx e2e remix-ide-e2e --filePath=dist/apps/remix-ide-e2e/src/tests/fileManager_api.test.js --env=chrome",
"nightwatch_local_runAndDeploy": "nx build remix-ide-e2e; nx e2e remix-ide-e2e --filePath=dist/apps/remix-ide-e2e/src/tests/runAndDeploy.js --env=chrome-runAndDeploy", "nightwatch_local_runAndDeploy": "nx build remix-ide-e2e; nx e2e remix-ide-e2e --filePath=dist/apps/remix-ide-e2e/src/tests/runAndDeploy.js --env=chrome-runAndDeploy",
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint", "onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:8080", "remixd": "nx build remixd; nx serve remixd --folder=./apps/remix-ide/contracts --remixide=http://127.0.0.1:8080",
"selenium": "selenium-standalone start", "selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install", "selenium-install": "selenium-standalone install",
"sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js", "sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js",
@ -241,7 +241,6 @@
"onchange": "^3.2.1", "onchange": "^3.2.1",
"prettier": "1.19.1", "prettier": "1.19.1",
"remix-tabs": "1.0.48", "remix-tabs": "1.0.48",
"remixd": "0.2.3-alpha.4",
"request": "^2.83.0", "request": "^2.83.0",
"rimraf": "^2.6.1", "rimraf": "^2.6.1",
"selenium-standalone": "^6.17.0", "selenium-standalone": "^6.17.0",

Loading…
Cancel
Save