12 ms·
> Make is language agnostic and that's a huge benefit, it means you have to learn about just one build tool and its peculiarities and that will allow you to bui
by gurkendoktor 10y ago
> Make is language agnostic and that's a huge benefit, it means you have to learn about just one build tool and its peculiarities and that will allow you to build many different projects in different languages.
You need to learn the Make build tool (easy) and then you need to learn bash scripting to get anywhere (argh!).
The OP has linked an example Makefile and I wouldn't be able to maintain/debug it without reading plenty of manpages:
https://github.com/Financial-Times/n-makefile/blob/master/Makefile https://github.com/Financial-Times/n-makefile/blob/master/Ma...
- pawadu 10y agoI am not sure if you can get rid of some those commands with any other build tool. There is simply no build tool that includes everything, so sometimes some scripting will be required. Then, why not go with bash that you hopefully already know? Also, a lot of the complexity is due to him being new to make: asset%: @if [ -e webpack.config.js ]; then ... fi