mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-10 20:56:29 +00:00
99b2b12a14
Summary: General cleanup to `update_snapshots.sh`, primarily such that it is free of race conditions and does not clobber your build output directory. The mechanism is the same as used in `yarn test`, via `SOURCECRED_BIN`. Test Plan: Remove your build directories (`rm -r ./bin ./build`), then run this script (`./scripts/update_snapshots.sh`) and check that each subprocess is properly invoked and all tests pass. Check that the temporary build directory is cleaned up. wchargin-branch: update-snapshots-cleanup