sup-smsac/build.sh

11 lines
271 B
Bash
Raw Normal View History

set -e
version=$(grep -Po '(?<=version = ").*(?=")' Cargo.toml | head -n1)
outDir=out/sup-smsac-$version
#rm -rf "$outDir"
mkdir -p "$outDir"
cargo build --release
cp ./target/release/sup-smsac.exe "$outDir/"
cp -r www res README.md LICENSE.txt CHANGELOG.md "$outDir/"