PowerTools/backend/build-docker.sh

15 lines
289 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/powertools-rs out/backend
echo " --- Cleaning up ---"
# remove root-owned target folder
cargo clean