release script: linux build
This commit is contained in:
parent
53bf4b1aef
commit
d03308136e
4 changed files with 23 additions and 109 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue