Skip to content

Commit

Permalink
chore(allow-scripts): break out test:prep script
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Mar 7, 2024
1 parent c02434e commit 44fa0ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/allow-scripts/package.json
Expand Up @@ -35,7 +35,7 @@
"scripts": {
"lint:deps": "depcheck",
"test": "npm run test:run",
"test:prep": "for d in ./test/projects/*/ ; do (cd \"$d\" && ../../../src/cli.js auto --experimental-bins); done",
"test:prep": "test/prepare.sh",
"test:run": "ava"
},
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/allow-scripts/test/prepare.sh
@@ -0,0 +1,6 @@
#!/bin/sh
for d in ./test/projects/*/
do
(cd "$d" && ../../../src/cli.js auto --experimental-bins);
done

0 comments on commit 44fa0ef

Please sign in to comment.