Remove linker script consistency checks and helpers

This commit is contained in:
Gwilym Inzani 2023-10-18 12:09:01 +01:00
parent 00631b2166
commit 721aba3c76

View file

@ -65,11 +65,7 @@ run-game game:
run-game-debug game: run-game-debug game:
(cd "examples/{{game}}" && cargo run) (cd "examples/{{game}}" && cargo run)
check-linker-script-consistency: ci: build-debug clippy fmt-check test miri build-release test-release doctest-agb test-games build-roms build-book check-docs
find -type f -name gba.ld -print0 | xargs -0 -n1 cmp -- agb/gba.ld
find -type f -name gba_mb.ld -print0 | xargs -0 -n1 cmp -- agb/gba_mb.ld
ci: check-linker-script-consistency build-debug clippy fmt-check test miri build-release test-release doctest-agb test-games build-roms build-book check-docs
build-roms: build-roms:
just _build-rom "examples/the-purple-night" "PURPLENIGHT" just _build-rom "examples/the-purple-night" "PURPLENIGHT"
@ -89,10 +85,6 @@ build-book:
update-lockfiles *args: update-lockfiles *args:
bash .github/scripts/update-lockfiles.sh {{args}} bash .github/scripts/update-lockfiles.sh {{args}}
update-linker-scripts:
find -type f -name gba.ld | grep -v ./agb/gba.ld | xargs -n1 cp -v -- agb/gba.ld
find -type f -name gba_mb.ld | grep -v ./agb/gba_mb.ld | xargs -n1 cp -v -- agb/gba_mb.ld
publish *args: (_run-tool "publish" args) publish *args: (_run-tool "publish" args)
release +args: (_run-tool "release" args) release +args: (_run-tool "release" args)