Fantastic/backend/build-docker.sh

15 lines
288 B
Bash
Executable file

#!/bin/bash
echo "--- Rust version info ---"
rustup --version
rustc --version
cargo --version
echo "--- Building plugin backend ---"
cargo build --release
mkdir -p out
cp target/release/fantastic-rs out/backend
echo " --- Cleaning up ---"
# remove root-owned target folder
cargo clean