assets production

pull/1754/head
bunsenstraat 3 years ago
parent 0f8b5542d0
commit 073e463ee3
  1. 7
      .circleci/config.yml
  2. 2
      apps/remix-ide/ci/browser_test.sh
  3. 1
      package.json

@ -35,6 +35,7 @@ jobs:
- run: npm run downloadsolc_assets
- run: npx nx build remix-ide
- run: npx nx build remix-ide-e2e-src-local-plugin
- run: npm run downloadsolc_assets_dist
- run: npm run build:libs
- run: mkdir persist && zip -r persist/dist.zip dist
- persist_to_workspace:
@ -124,7 +125,7 @@ jobs:
name: Start Selenium
command: npx selenium-standalone start
background: true
- run: npm run downloadsolc_assets
- run: npm run downloadsolc_assets_dist
- run: ./apps/remix-ide/ci/browser_test.sh chrome
- store_test_results:
path: ./reports/tests
@ -163,7 +164,7 @@ jobs:
name: Start Selenium
command: npx selenium-standalone start
background: true
- run: npm run downloadsolc_assets
- run: npm run downloadsolc_assets_dist
- run: ./apps/remix-ide/ci/browser_test.sh firefox
- store_test_results:
path: ./reports/tests
@ -202,7 +203,7 @@ jobs:
name: Start Selenium
command: npx selenium-standalone start
background: true
- run: npm run downloadsolc_assets
- run: npm run downloadsolc_assets_dist
- run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh
- store_test_results:
path: ./reports/tests

@ -7,7 +7,7 @@ echo "$BUILD_ID"
TEST_EXITCODE=0
npm run ganache-cli &
npm run serve &
npm run serve:production &
echo 'sharing folder: ' $PWD '/apps/remix-ide/contracts' &
npm run remixd &

@ -55,6 +55,7 @@
"browsertest": "sleep 5 && npm run nightwatch_local",
"csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='apps/remix-ide/src/assets/css/font-awesome.min.css' apps/remix-ide/src/assets/css/",
"downloadsolc_assets": "wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.7+commit.e28d00a7.js -O ./apps/remix-ide/src/assets/js/soljson.js && wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.7+commit.e28d00a7.js -O ./apps/solidity-compiler/src/assets/js/soljson.js",
"downloadsolc_assets_dist": "wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.7+commit.e28d00a7.js -O ./dist/apps/remix-ide/assets/js/soljson.js && wget --no-check-certificate https://binaries.soliditylang.org/wasm/soljson-v0.8.7+commit.e28d00a7.js -O ./dist/apps/solidity-compiler/assets/js/soljson.js",
"make-mock-compiler": "node apps/remix-ide/ci/makeMockCompiler.js",
"minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false",
"build:production": "NODE_ENV=production nx build remix-ide --skip-nx-cache",

Loading…
Cancel
Save