-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use submodules #57
base: master
Are you sure you want to change the base?
Use submodules #57
Conversation
This reverts commit e551a7e.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
This will need to specify specific sgdk project tags, also need to figure out why the docker image build is not working (I think the gitmodules file is not copied into the image via Dockerfile, but see my other suggestion that might make that redundant, anyhow.)
SGDK: $(SGDKDIR) | ||
$(SGDKDIR): | ||
git clone -b '$(SGDKVER)' --single-branch --depth 1 https://github.com/Stephane-D/SGDK.git | ||
git submodule update --init |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll want this to represent the SGDK version we want on line 7. (We may not always want the very latest, and also that SGDKVER is used to patch our local SGDK dir for specific tweaks need to run on *nix)
Maybe git submodule add -b tags/$(SGDKVER) ......
before the module update is what we need. (instead of the .gitmodules file)
Fixes #15
Forcing updates can be done with
git submodule update
. I set the reference to v.1.50.This could be done as part of the pipeline checking the compatibility with SGDK changes every time a change to SGDK is done.
Thanks for your great work. This enables me to do some Mega Drive development on my Mac!