This commit is contained in:
Corwin 2024-04-04 01:07:10 +01:00
parent 662cdc73d6
commit 8cb306a9b7
No known key found for this signature in database
2 changed files with 15 additions and 2 deletions

View file

@ -93,10 +93,23 @@ miri:
(cd agb-hashmap && cargo miri test) (cd agb-hashmap && cargo miri test)
build-mgba-wasm: build-mgba-wasm:
rm -r website/app/src/vendor rm -rf website/app/src/vendor
mkdir website/app/src/vendor mkdir website/app/src/vendor
podman build --file website/mgba-wasm/BuildMgbaWasm --output=website/app/src/vendor . podman build --file website/mgba-wasm/BuildMgbaWasm --output=website/app/src/vendor .
build-combo-rom-site:
just _build-rom "examples/combo" "AGBGAMES"
cp examples/target/examples/combo.gba website/app/public/game.gba
build-site-mgba-wrapper: build-mgba-wasm
(cd website/app && npm run build)
build-site: build-combo-rom-site build-site-mgba-wrapper build-book
rm -rf website/build
cp website/site website/build -r
cp book/book website/build/book -r
cp website/app/build website/build/mgba -r
_run-tool +tool: _run-tool +tool:
(cd tools && cargo build) (cd tools && cargo build)
"$CARGO_TARGET_DIR/debug/tools" {{tool}} "$CARGO_TARGET_DIR/debug/tools" {{tool}}

View file

@ -120,7 +120,7 @@
<section class="red"> <section class="red">
<div class="links"> <div class="links">
<a href="https://github.com/agbrs/agb">GitHub</a> <a href="https://github.com/agbrs/agb">GitHub</a>
<a href="????">Book</a> <a href="book/">Book</a>
</div> </div>
</section> </section>
</body> </body>