forked from michael/leanshot
update check.sh
This commit is contained in:
parent
de118c6047
commit
6cb1dd1b6e
1 changed files with 0 additions and 6 deletions
|
@ -21,13 +21,7 @@ case `uname -s` in
|
||||||
echo "Building static binaries using ekidd/rust-musl-builder"
|
echo "Building static binaries using ekidd/rust-musl-builder"
|
||||||
docker build -f Dockerfile.check -t build-"$1"-image .
|
docker build -f Dockerfile.check -t build-"$1"-image .
|
||||||
docker run -it --name build-"$1" build-"$1"-image
|
docker run -it --name build-"$1" build-"$1"-image
|
||||||
docker cp build-"$1":/home/rust/src/target/x86_64-unknown-linux-musl/release/"$1" "$1"
|
|
||||||
docker rm build-"$1"
|
docker rm build-"$1"
|
||||||
docker rmi build-"$1"-image
|
docker rmi build-"$1"-image
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
echo "Building standard release binaries"
|
|
||||||
cargo build --release
|
|
||||||
zip -j "$1"-"$2".zip target/release/"$1"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue