From 24be3b58dbca62a0c97deb8c66efefbd0ec9ed35 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 23 Dec 2023 14:53:38 -0600 Subject: [PATCH] [jasper] Add Makefile commands for managing nostalgia subtree --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index d7dbd03..c1a691b 100644 --- a/Makefile +++ b/Makefile @@ -40,3 +40,16 @@ configure-gba: .PHONY: configure-gba-debug configure-gba-debug: ${BC_CMD_SETUP_BUILD} --toolchain=deps/gbabuildcore/cmake/modules/GBA.cmake --target=gba --current_build=0 --build_type=debug --build_root=${BC_VAR_BUILD_PATH} + +.PHONY: git-setup-nostalgia-remote +git-setup-nostalgia-remote: + git remote add -f nostalgia-master git@git.drinkingtea.net:drinkingtea/nostalgia.git + +.PHONY: git-pull-nostalgia +git-pull-nostalgia: + git fetch nostalgia-master master + git subtree pull --prefix deps/nostalgia nostalgia-master master + +.PHONY: git-push-nostalgia +git-push-nostalgia: + git subtree push --prefix=deps/nostalgia nostalgia-master master