Skip to content

Commit

Permalink
Add screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Apr 2, 2023
1 parent aa19394 commit 2bbe0e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ groups (arrays) of commands to execute.
Each group of commands is executed in order, and the commands within each group are by default
executed in serial (synchronously) but can optionally be executed in parallel (asynchronously).

![screenshot](screenshot.png)

## A) Setup
Install package for node:
```shell
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"step:12": "copy-file build/umd/run-scripts.js build/run-scripts.umd.cjs",
"step:20": "add-dist-header build dist",
"pretest": "npm-run-all step:*",
"test": "mocha spec/*.spec.js --timeout 5000",
"test": "mocha spec/*.spec.js --timeout 7000",
"sleep": "node --eval 'setTimeout(() => {}, 500)'",
"dev": "tsc && add-dist-header build dist && mocha spec/*.spec.js --grep serial"
},
Expand Down
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion spec/mocha.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('Executing the CLI', () => {

it('correctly runs parallel commands', () => {
// Handy script:
// "devp": "tsc && add-dist-header build dist && rimraf spec/fixtures/target/b && mocha spec/*.spec.js --grep parallel --timeout 5000",
// "devp": "tsc && add-dist-header build dist && rimraf spec/fixtures/target/b && mocha spec/*.spec.js --grep parallel --timeout 7000",
const cmd = 'node bin/cli.js spec-b1 spec-b2 --parallel --verbose';
execSync(cmd, { stdio: 'inherit' });
const actual = revWebAssets.readFolderRecursive('spec/fixtures/target/b');
Expand Down

0 comments on commit 2bbe0e5

Please sign in to comment.