-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a script to clone deps and build with podman.
- Loading branch information
1 parent
1e6ef79
commit 4b687ec
Showing
3 changed files
with
38 additions
and
4 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,24 @@ | ||
#! /bin/sh | ||
|
||
set -e | ||
|
||
if [ -d ../tkey-libs ] | ||
then | ||
(cd ../tkey-libs; git checkout v0.0.1) | ||
else | ||
git clone -b v0.0.1 https://github.com/tillitis/tkey-libs.git ../tkey-libs | ||
fi | ||
|
||
if [ -d ../tkey-device-signer ] | ||
then | ||
(cd ../tkey-device-signer; git checkout v0.0.7) | ||
else | ||
git clone -b v0.0.7 https://github.com/tillitis/tkey-device-signer.git ../tkey-device-signer | ||
fi | ||
|
||
make -C ../tkey-libs podman | ||
make -C ../tkey-device-signer podman | ||
|
||
cp ../tkey-device-signer/signer/app.bin signer.bin | ||
|
||
make podman |
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ missingok_files=( | |
.gitignore | ||
.golangci.yml | ||
build.sh | ||
build-podman.sh | ||
LICENSE | ||
Makefile | ||
README.md | ||
|