Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove invalid watch spec for rollup files * remove specialized watch commands since watch covers everything now * added a script to ensure server, app and tests are built before running testem
- Loading branch information
Aaron Graves
committed
Aug 5, 2019
1 parent
f82c1c1
commit 795cd4c
Showing
3 changed files
with
21 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f "./packages/@pollyjs/node-server/dist/cjs/pollyjs-node-server.js" ]; then | ||
echo "pollyjs: test server build not found; run either '$ yarn watch' or '$ yarn server:build'" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./packages/@pollyjs/core/dist/cjs/pollyjs-core.js" ]; then | ||
echo "pollyjs: build not found; run either '$ yarn watch' or '$ yarn build'" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./packages/@pollyjs/core/build/node/test-bundle.cjs.js" ]; then | ||
echo "pollyjs: test build not found; run either '$ yarn watch' or '$ yarn test:build'" | ||
exit 1 | ||
fi |
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