[jasper] Add Makefile commands for managing nostalgia subtree

This commit is contained in:
2023-12-23 14:53:38 -06:00
parent 2c5dfe35c9
commit 24be3b58db

View File

@ -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