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

add commands to Makefile: init, vendor, install #294

Open
justgook opened this issue Aug 15, 2023 · 1 comment
Open

add commands to Makefile: init, vendor, install #294

justgook opened this issue Aug 15, 2023 · 1 comment

Comments

@justgook
Copy link
Contributor

justgook commented Aug 15, 2023

It would be nice to extend functionality of main makefile, to make onboarding much easier, by adding few commands (i could create also PR, for some part of that):

  1. init-_TOOL_ - init new game or add configuration for specific tool in current directory, where tool could be one of:
    1. hello - inits basic game template - sample/basic/hello-worldlike
    2. image - same as previous only for image
    3. sonic - creates minimalistic platformer game (what other more canonical platformer-ga exists in MD)
    4. ……… -your submission???
    5. vscode - add vscode configs
    6. make - add Makefile, that have default commands, release, debug, clean
    7. git - init git repo, setup .gitignore, git-lfs
    8. github - add github template with enabled gh-actions pipelines to build game on commit
  2. vendor - same as go vendor, create folder vendor in current game directory, put there current sources of sgdk, and use those to compile libmd.a, and game it self, from those sources.
  3. install/update - copies sgdk to global scope of OS, and registers sgdk command globally, so You can call sgdk release from any floder.
@justgook
Copy link
Contributor Author

and looks like andwn/marsdev is already lot of work done

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

No branches or pull requests

1 participant