-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9160 from Agoric/kriskowal-this-time-with-feeling…
…-8536 feat(xsnap): Build sensitivity to presence of build toolchain
- Loading branch information
Showing
4 changed files
with
133 additions
and
9 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,21 @@ | ||
#!/bin/bash | ||
# Verifies that files in package.json covers everything xsnap needs to compile | ||
# from sources out of an npm package. | ||
set -xueo pipefail | ||
|
||
TEMP=$(mktemp -d) | ||
# function cleanup() { | ||
# rm -rf "$TEMP" | ||
# } | ||
# trap cleanup EXIT | ||
|
||
yarn pack -f "$TEMP/package.tar" | ||
( | ||
cd "$TEMP" | ||
tar xvf package.tar | ||
cd package | ||
time yarn | ||
time yarn | ||
time yarn | ||
time yarn | ||
) |
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