go-template
go-template copied to clipboard
Replace Makefile with earthly
Is your feature request related to a problem? Please describe.
Makefiles are fast hard to read & to maintain. It would be nice to have a more elgant alternative like earthly.
Describe the solution you'd like
Replace current Makefile with an Earthly file. Earthly could also be split up into multiple files & folders. So this could also help to make go-template
fit for more options, since not everything needs to be going into one file.
Also with earthly, supporting multiple CI provider would be much easier.
Describe alternatives you've considered
Keep the Makefile 😁
Search
- [X] I did search for other open and closed issues before opening this.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Additional context
No response
This feature could also solve https://github.com/SchwarzIT/go-template/issues/16
Also, this issue could be solved quit nice with earthly → https://github.com/SchwarzIT/go-template/issues/18
Interesting discussion on Reddit about this topic -> https://www.reddit.com/r/golang/comments/10rq9u0/which_build_system_do_you_use/
I love earthly but I still think Makefile is the more widely used option. So I don't think we should replace it completely. Anyways, after we refactor to composable modules we can definitely tackle that together 👯