release script: linux build

This commit is contained in:
Pascal Engélibert 2022-08-28 22:14:59 +02:00
commit d03308136e
Signed by: tuxmain
GPG key ID: 3504BC6D362F7DCA
4 changed files with 23 additions and 109 deletions

View file

@ -1,3 +1,24 @@
# Linux x86_64
cargo build --release || exit 1
mkdir -p target/itchio/linux-x86_64/assets/sound
cp -r assets/sound/* target/itchio/linux-x86_64/assets/sound/
cp assets/*.png target/itchio/linux-x86_64/assets/
cp assets/UacariLegacy-Thin.ttf target/itchio/linux-x86_64/assets/
cp assets/*.json target/itchio/linux-x86_64/assets/
cp target/release/lux-synthese target/itchio/linux-x86_64/
cp LICENSE target/itchio/linux-x86_64/
cp README.md target/itchio/linux-x86_64/
cd target/itchio/linux-x86_64
zip -r ../linux-x86_64.zip .
cd ../../..
# WASM
sh build-wasm.sh || exit 1
mkdir -p target/itchio/wasm/target