2022-09-05 19:24:01 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "--- Rust version info ---"
|
|
|
|
rustup --version
|
|
|
|
rustc --version
|
|
|
|
cargo --version
|
|
|
|
|
|
|
|
echo "--- Building plugin backend ---"
|
2022-12-05 23:51:49 +00:00
|
|
|
cargo build --profile docker
|
2022-09-05 19:24:01 +01:00
|
|
|
mkdir -p out
|
|
|
|
cp target/release/powertools-rs out/backend
|
|
|
|
|
|
|
|
echo " --- Cleaning up ---"
|
|
|
|
# remove root-owned target folder
|
|
|
|
cargo clean
|