build/deploy scripts

This commit is contained in:
Max Bradbury 2020-09-23 15:12:10 +01:00
parent 8a2e7ccfb5
commit 3dc88244e1
2 changed files with 13 additions and 0 deletions

9
build.sh Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
cargo build --release
cp target/release/lull .
strip lull
zip -r lull.zip README.md lull
rm lull
zip -r sounds.zip README.md sounds/*

4
deploy.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
butler push lull.zip ruin/lull:linux
butler push sounds.zip ruin/lull:sounds