osupdater/rust_build_osupdater.sh

10 lines
252 B
Bash
Executable file

#!/bin/sh
echo -e "Cleaning up build environment"
rm -rf osupdater/target
echo -e "Entering build directory\n"
cd osupdater/
echo -e "Building osupdater\n"
cargo build -r
echo -e "Copying binary to git root\n"
cp target/release/osupdater ../osupdater