The Ultimate Frontend Build tool: make
101–110 of 121 posts
Re: The Ultimate Frontend Build tool: make
#102God I hate make. I hate make so very, very much. Compiling code isn't that hard. I swear to the programming lords on high it isn't. Here's a wonderfully useful open source project - Google gperftools [1]. It includes TCMalloc amongst other things. The Makefile.in is 6390 lines long. Configure is 20,767 lines long. Libtool is 10247 lines long. That's fucking insane. Compiling OpenSource is such a pain in the ass. Part…
What you are describing is autoconf, not make. Make by itself is actually a very handy tool for performing tasks that have a dependency graph. Autoconf.. Well, I can't disagree. It's a hack built on top of a hack and should probably be rethought. Once autoconf is done generating Makefiles, make itself is generally trouble-free. http://freecode.com/articles/stop-the-autoconf-insanity-why-...
Re: The Ultimate Frontend Build tool: make
#103The problem with make is not that it's bad, it's that's it's only really good at doing two things: 1) mapping a source pattern to an output pattern 2) managing dependencies between rules To be fair it's good at those, and often the sorts of things you can do with a rule are quite complex (being basically shell scripts). However, the problem is that 1) it's an obscure DSL and 2) that it is really rubbish at doing more…
I'd rather rewrite a 4-LOC shell script in my new project, instead of depending on a build tool that depends on a non-standard, infant runtime itself, and also depends on third party libraries for deleting files.
Re: The Ultimate Frontend Build tool: make
#104God I hate make. I hate make so very, very much. Compiling code isn't that hard. I swear to the programming lords on high it isn't. Here's a wonderfully useful open source project - Google gperftools [1]. It includes TCMalloc amongst other things. The Makefile.in is 6390 lines long. Configure is 20,767 lines long. Libtool is 10247 lines long. That's fucking insane. Compiling OpenSource is such a pain in the ass. Part…
What you are describing is autoconf, not make. Make by itself is actually a very handy tool for performing tasks that have a dependency graph. Autoconf.. Well, I can't disagree. It's a hack built on top of a hack and should probably be rethought. Once autoconf is done generating Makefiles, make itself is generally trouble-free. http://freecode.com/articles/stop-the-autoconf-insanity-why-...
Automake, on the other hand...
Re: The Ultimate Frontend Build tool: make
#105Although make does have a lot of weird quirks, its winning strength is that it is installed virtually everywhere.
The thing I don't like about make is the poor debuggability when something goes wrong. I having been using make for 15 years and I'm ready for something that gives me more traceability.
A poster above had it right - it's perfect for mapping input files to output, but inbetween and above that, it stumbles pitifully.
Re: The Ultimate Frontend Build tool: make
#106Have use http://www.finalbuilder.com/, is a great tool that put me in the automated build mantra.
Re: The Ultimate Frontend Build tool: make
#107Re: The Ultimate Frontend Build tool: make
#108Earlier quoted context omitted.
Actually, most contemporary hipster build systems are bad reimplementations of make. Yes, make is a PITA, but every other build system is worse.
UI have yet to see a 'hipster build system' that mixes shell and make language or uses punctuation for variables. Are all things made since 1977 hipster?
Get off my lawn, hippie.
Re: The Ultimate Frontend Build tool: make
#109God I hate make. I hate make so very, very much. Compiling code isn't that hard. I swear to the programming lords on high it isn't. Here's a wonderfully useful open source project - Google gperftools [1]. It includes TCMalloc amongst other things. The Makefile.in is 6390 lines long. Configure is 20,767 lines long. Libtool is 10247 lines long. That's fucking insane. Compiling OpenSource is such a pain in the ass. Part…
I've come to think that build systems are a very personal utility. Everyone has their favourite. Mine's fabricate.py, for example. Over time I've built up a library of script snippets and shortcuts and so on which I'm familiar with, comfortable with, and exactly fulfil all my use cases. It's all very clever. :) Yet when I download some random project's source code, I groan at any sophistry in the build process at all…
For me, the makefile itself wasn't the problem, I've been rather aggressive to keep it as pretty much just a dependency enumeration with flag lists and (arrogantly) it is rather clean, but the runtime flags/things I need to wrap the executable around pushed me to the script.
(I honestly worried that this was sloppy since it indicated exactly what it did, mask really ugly complexity behind a shiny frontend, which always makes me wonder if that complexity wasn't undue, but it does give the advantage that your last paragraph mentions, that it gives a more modular pseudocode of the various components of building/running.)