From b4d8f23bfbc916191d0b54b4a91e84e282e5fb55 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Fri, 17 Jun 2022 00:45:26 +0100 Subject: [PATCH] Add justfile command for updating the linker script --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index a5467f61..79d0099e 100644 --- a/justfile +++ b/justfile @@ -50,6 +50,10 @@ build-book: update-lockfiles: bash .github/scripts/update-lockfiles.sh +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 + _build-rom folder name: #!/usr/bin/env bash set -euxo pipefail