Compare commits

...

2 Commits

3 changed files with 14 additions and 12 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@
/sounds/*.wav /sounds/*.wav
/sounds.zip /sounds.zip
/lull.zip /lull.zip
/dist/
/package/

View File

@ -1,15 +1,16 @@
#!/usr/bin/env bash #!/usr/bin/env bash
mkdir dist
cargo build --release cargo build --release
cp target/release/lull .
strip lull
# zip (itch desktop) mkdir dist/linux
zip -r lull-linux.zip README.md LICENSE lull
# tar.gz (downloadable)
rm lull-linux.tar.gz
tar -czvf lull-linux.tar.gz README.md LICENSE lull
rm lull cp target/release/lull dist/linux
cp README.md dist/linux
cp LICENSE dist/linux
strip dist/linux/lull
zip -r sounds.zip SOUNDS.md sounds/*.mp3 mkdir dist/sounds
cp sounds/*.mp3 SOUNDS.md dist/sounds

View File

@ -1,5 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
butler push lull-linux.tar.gz ruin/lull:linux-download butler push dist/linux ruin/lull:linux
butler push lull-linux.zip ruin/lull:linux-itch butler push dist/sounds ruin/lull:sounds
butler push sounds.zip ruin/lull:sounds