Skip to content

Commit

Permalink
Rename test-bundles* commands to test-build*
Browse files Browse the repository at this point in the history
Also add test-prod-build as alias for test-build-prod because I keep messing them up.
  • Loading branch information
gaearon committed Nov 23, 2017
1 parent 3fb1d4a commit c14cae5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@
"postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
"test": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.source.js",
"test-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.source.js",
"test-bundles": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.bundles.js",
"test-bundles-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.bundles.js",
"test-prod-build": "yarn test-build-prod",
"test-build": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.build.js",
"test-build-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.build.js",
"flow": "node ./scripts/tasks/flow.js",
"prettier": "node ./scripts/prettier/index.js write-changed",
"prettier-all": "node ./scripts/prettier/index.js write",
Expand Down
4 changes: 2 additions & 2 deletions scripts/circleci/test_entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ fi

if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
COMMANDS_TO_RUN+=('./scripts/circleci/build.sh')
COMMANDS_TO_RUN+=('yarn test-bundles --runInBand')
COMMANDS_TO_RUN+=('yarn test-bundles-prod --runInBand')
COMMANDS_TO_RUN+=('yarn test-build --runInBand')
COMMANDS_TO_RUN+=('yarn test-build-prod --runInBand')
fi

if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
Expand Down
File renamed without changes.

0 comments on commit c14cae5

Please sign in to comment.