PowerTools/backend/build-docker.sh

16 lines
296 B
Bash
Raw Permalink Normal View History

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