Skip to content

Commit

Permalink
Document and move utility build script
Browse files Browse the repository at this point in the history
  • Loading branch information
felixwiemuth authored and aslanix committed Dec 8, 2023
1 parent 3ac0d77 commit 41f60fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ infrastructure or key generation (which otherwise takes a few seconds).

### Building and naming the snapshot

Script `build.sh` runs `make` and copies the executables to `../bin/<current git HEAD hash>`.
Script `dev-utils/build.sh` runs `make` and copies the executables to `../bin/<current git HEAD hash>`.
This is useful when wanting to compile some snapshots to compare how different versions behave.

## Networking

Expand Down
7 changes: 0 additions & 7 deletions compiler/build.sh

This file was deleted.

8 changes: 8 additions & 0 deletions dev-utils/build-snapshot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Builds and copies the executables to bin/<current git HEAD hash>
# This is useful when wanting to compile some snapshots to compare how different versions behave.
make
echo ""
dir="bin/$(git describe --long --dirty --always)"
mkdir -p $dir
cp bin/* $dir 2>/dev/null
echo "Copied executables to $dir"

0 comments on commit 41f60fa

Please sign in to comment.