cloudflare / hellogopher

Hellogopher: "just clone and make" your conventional Go project
MIT License
1.15k stars 59 forks source link

Feature request: provide a way to update hellogopher #15

Closed zbentley closed 7 years ago

zbentley commented 7 years ago

If I'm using hellogopher's Makefile in a project, it would be nice to be able to update the build system via the build system. If hellogopher changes after I've installed it, it should be simple (one command, if possible) to pull in the latest Makefile.

Ideas (in no particular order):

FiloSottile commented 7 years ago

Hi, thanks for your feedback!

I've considered how to make hellogopher modular or update-able, and I never came to a satisfying conclusion. The Makefile is meant to be modified, and the sections that could be moved to an imported .mak amount to less than 60 lines. The import logic would probably add 30 lines.

So the unsatisfactory conclusion I came to is what is written at the top here

https://github.com/cloudflare/hellogopher/blob/master/CHANGELOG.md

I can obviously be convinced otherwise, but I did already consider the methods you suggested and didn't find a way to make them work :(

zbentley commented 7 years ago

No worries. Thanks for the explanation!