Skip to content
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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Use submodules #57

wants to merge 10 commits into from

Conversation

snipem
Copy link

@snipem snipem commented Mar 11, 2021

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!

@snipem snipem marked this pull request as ready for review March 11, 2021 14:51
Copy link
Owner

@kubilus1 kubilus1 left a 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
Copy link
Owner

@kubilus1 kubilus1 Mar 14, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SGDK should really be a submodule
2 participants