This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
caylon/backend/build.sh

13 lines
427 B
Bash
Raw Normal View History

2022-09-12 04:45:31 +01:00
#!/bin/bash
2022-12-04 01:24:12 +00:00
#cargo build --release --target x86_64-unknown-linux-musl --features encrypt
cargo build --target x86_64-unknown-linux-musl --features $1,
2022-12-04 01:24:12 +00:00
#cross build --release --features encrypt
2022-09-12 04:45:31 +01:00
mkdir -p ../bin
#cp ./target/x86_64-unknown-linux-musl/release/caylon ../bin/backend
cp ./target/x86_64-unknown-linux-musl/debug/caylon ../bin/backend
#cp ./target/release/caylon ../bin/backend
2022-09-12 04:45:31 +01:00
cp ../caylon.json ../bin/caylon.json