mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-02-04 09:05:27 -05:00
2b213d51b8
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.
20 lines
417 B
Bash
Executable File
20 lines
417 B
Bash
Executable File
#!/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
|