ModBuild
This is a build system that lets you, the modder, spend more of your time writing your mod, and less of it dealing with building it.
What I mean by this is that you can simply
It is useful for the following reasons:
- Easily building your mod (if on Linux) with a single command!
- Versioning your mod ostensibly!
- Having GitHub build your mod for you, and even release it for you if you tag it accordingly, via the Github Actions CI workflow
(which includes checking possible compiler errors in your commits); yay for convenience!
strengths,
- Does not work natively on Windows: you will need WSL, or Cygwin or Msys2, or even a virtual machine or container.
This build system is built around Linux, in and out.
This does not mean you cannot use it from Windows, but if you want to build locally, it will require an environment that is compatible with what you see in Linux, including Bash.
Or, just use CI! - This build system requires installing Go, precisely because of Mustache.
Golang is a bit of a heft, and I can understand why this can be a turn-off for some people. - To me it feels a bit hacky... though, sure, that is subjective.
- The CI workflow only works in GitHub.
I'm not shilling Microsoft, it's just the one CI I know how to work with.
Adding support for Travis CI, and maybe even GitLab CI, may be considered for the near future, but I wouldn't hold my breathe if I were you. - It's difficult to update ModBuild once you start using it. This should be rectified in the near future. How? Good question.
For more information on its usage, see the GitHub repo.