Fantastic/backend/build-docker.sh

16 lines
288 B
Bash
Raw Normal View History

2022-08-23 22:26:05 +01:00
#!/bin/bash
2022-09-01 21:39:34 +01:00
echo "--- Rust version info ---"
rustup --version
rustc --version
cargo --version
echo "--- Building plugin backend ---"
cargo build --release
2022-08-23 22:26:05 +01:00
mkdir -p out
2022-09-01 21:39:34 +01:00
cp target/release/fantastic-rs out/backend
echo " --- Cleaning up ---"
# remove root-owned target folder
cargo clean