Fantastic/backend-rs/build.sh

14 lines
479 B
Bash
Raw Normal View History

2022-07-05 03:02:38 +01:00
#!/bin/bash
#cargo build --release --target x86_64-unknown-linux-musl
2023-06-04 19:48:58 +01:00
#cargo build --target x86_64-unknown-linux-musl
#cross build --release
2023-06-04 19:48:58 +01:00
cargo build
mkdir -p ../bin
2023-06-04 19:48:58 +01:00
#cp --preserve=mode ./target/x86_64-unknown-linux-musl/release/fantastic-rs ../bin/backend
#cp --preserve=mode ./target/x86_64-unknown-linux-musl/debug/fantastic-rs ../bin/backend
#cp --preserve=mode ./target/release/fantastic-rs ../bin/backend
cp --preserve=mode ./target/debug/fantastic-rs ../bin/backend