regalius / clean-arch

Clean Arch
1 stars 0 forks source link

Stay away from makefile or be careful on it #5

Open wejick opened 5 years ago

wejick commented 5 years ago

https://github.com/regalius/clean-arch/blob/c92f4ea1d09ebcaea6a0cfc8590e878af41bef23/sample-app/Makefile#L1

In my opinion we must as best as possible not using makefile. https://hackernoon.com/why-not-make-db142ccb2081

But if we want to use it, better to make it as simple as possible, don't use make for any fancy stuff - it will hurt (https://github.com/wejick/mattermost-server/blob/master/Makefile).

good reading : https://sahilm.com/makefiles-for-golang/ or check what content team is doing with makefile, which concise enough

regalius commented 5 years ago

Hmm, I was thinking about Bazel/Buck, but haven't got time to learn it properly, perhaps later when we have enough time to explore, we can change it to them? Or let's just stick with Makefile?