PowerTools/backend/build-docker.sh

16 lines
293 B
Bash
Raw 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 out/backend
echo " --- Cleaning up ---"
# remove root-owned target folder
cargo clean