mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
add book
This commit is contained in:
parent
662cdc73d6
commit
8cb306a9b7
15
justfile
15
justfile
|
@ -93,10 +93,23 @@ miri:
|
|||
(cd agb-hashmap && cargo miri test)
|
||||
|
||||
build-mgba-wasm:
|
||||
rm -r website/app/src/vendor
|
||||
rm -rf website/app/src/vendor
|
||||
mkdir 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:
|
||||
(cd tools && cargo build)
|
||||
"$CARGO_TARGET_DIR/debug/tools" {{tool}}
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
<section class="red">
|
||||
<div class="links">
|
||||
<a href="https://github.com/agbrs/agb">GitHub</a>
|
||||
<a href="????">Book</a>
|
||||
<a href="book/">Book</a>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue