1
Fork 0

added release recipe

This commit is contained in:
Andy Killorin 2023-09-13 17:11:04 -05:00
parent d0110bf38f
commit 2c50f9e1d5
Signed by: ank
GPG key ID: B6241CA3B552BCA4

View file

@ -39,6 +39,19 @@ run: build
python3 -m http.server &
firefox http://0.0.0.0:8000/build/index.html
bundle:
cd client; cargo bundle --profile minsized
build-native-min:
cargo build -p client --profile minsized
upx --ultra-brute target/minsized/client
release: build-native-min zip bundle
mkdir -p release
cp build/release.zip release/release.zip
cp target/minsized/client release/sss-`uname`.elf
cp -r target/minsized/bundle/* release
clean:
cargo clean --manifest-path pirates/Cargo.toml
rm -r build