Skip to content

Project-Sophon/alchemist-apprentice-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alchemist-apprentice-wasm

How to Deploy

In main game repo:

cd alchemist_apprentice
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-dir ./out/ --target web .\target\wasm32-unknown-unknown\release\alchemist_apprentice.wasm

This will output a ./out/ directory in that repo's directory. Next copy over ./out directory to this repo, commit, and then push. GitHub pages will auto deploy it from there.

cd ..
rm -rf ./alchemist_apprentice-wasm/out
rm -rf ./alchemist_apprentice-wasm/assets
cp -R ./alchemist_apprentice/out ./alchemist_apprentice-wasm/out
cp -R ./alchemist_apprentice/assets ./alchemist_apprentice-wasm/assets
cd alchemist_apprentice-wasm
git stage .
git commit -m "<release_version>"
git push

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published