go-template icon indicating copy to clipboard operation
go-template copied to clipboard

Replace Makefile with earthly

Open linuxluigi opened this issue 2 years ago • 4 comments

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

linuxluigi avatar Jan 06 '23 10:01 linuxluigi

This feature could also solve https://github.com/SchwarzIT/go-template/issues/16

linuxluigi avatar Jan 06 '23 10:01 linuxluigi

Also, this issue could be solved quit nice with earthly → https://github.com/SchwarzIT/go-template/issues/18

linuxluigi avatar Jan 06 '23 10:01 linuxluigi

Interesting discussion on Reddit about this topic -> https://www.reddit.com/r/golang/comments/10rq9u0/which_build_system_do_you_use/

linuxluigi avatar Feb 02 '23 15:02 linuxluigi

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 👯

brumhard avatar Mar 31 '23 14:03 brumhard