Skip to content

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

@justgook

Description

@justgook

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions