-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a make target and script that runs the secret generation.
The intention is to simplify building a complete bitstream as a user not using the repo everyday. Also added a simple script that can provide some guiding errors if some prerequisite is missing.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 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,19 @@ | ||
#!/bin/bash | ||
|
||
# Check if make is in the PATH | ||
if ! command -v make &> /dev/null | ||
then | ||
echo "make is not installed or not in the PATH. Please install make and try again." | ||
exit 1 | ||
fi | ||
|
||
# Check if podman is in the PATH | ||
if ! command -v podman &> /dev/null | ||
then | ||
echo "podman is not installed or not in the PATH. Please install podman and try again." | ||
exit 1 | ||
fi | ||
|
||
# Run the make command | ||
make build-unlocked | ||
exit 0 |