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
|
2023-02-24 02:07:17 +00:00
|
|
|
cp target/release/powertools out/backend
|
2022-09-05 19:24:01 +01:00
|
|
|
|
|
|
|
echo " --- Cleaning up ---"
|
|
|
|
# remove root-owned target folder
|
|
|
|
cargo clean
|