You've already forked example-native-api-rs
mirror of
https://github.com/medigor/example-native-api-rs.git
synced 2025-06-17 00:17:52 +02:00
add build scripts
This commit is contained in:
10
build-with-docker-linux
Executable file
10
build-with-docker-linux
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if which podman>/dev/null;
|
||||
then
|
||||
PROGRAM=podman;
|
||||
else
|
||||
PROGRAM=docker;
|
||||
fi
|
||||
|
||||
$PROGRAM run -it --rm -v $PWD:/project docker.io/library/rust:1-bullseye cargo build --manifest-path /project/Cargo.toml --release
|
Reference in New Issue
Block a user