osupdater/rust_build_osupdater.sh

10 lines
270 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 --jobs $(nproc)
#echo -e "Copying binary to git root\n"
#cp target/release/osupdater ../osupdater