-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move code of the icfy-analyze CircleCI task to a NPM script (#39502)
* Move code of the icfy-analyze CircleCI task to a NPM script In hope to get better error handling a recovery, I'm moving the commands for the `icfy-analyze` CircleCI task (the `npm run preanalyze-bundles`, running the `bin/analyze-icfy.js` script, moving files to artifacts folder) to a NPM script called `analyze-icfy`. That script chains the steps using `&&` operator, relying on exit codes. That should be more reliable (or at least more comprehensible) than the `set +o errexit` bash option. This also creates a `build-client-stats` NPM script that's used by both `analyze-bundles` and `analyze-icfy` scripts. * Remove usage of cross-env from build scripts until its exit code bugs are fixed
- Loading branch information
Showing
2 changed files
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters