2 ms·
If you are on a unix system, "redo" (designed by djb and implemented by apenwarr) is excellent. It's refreshingly simple and robust. And, there's a minimalist
by beagle3 14y ago
If you are on a unix system, "redo" (designed by djb and implemented by apenwarr) is excellent. It's refreshingly simple and robust.
And, there's a minimalist version called "do" which is a hundred-or-so lines of shell, that does a complete rebuild (no dependency tracking) - so you can package that with your project, and not have to worry about your users having to install yet another build system.
Other alternatives I'd recommend, with some degree of success:
SCons - cross platform, but slow (every big enough project eventually abandons it)
waf - a unix-only (AFAIK) SCons derivative that's a bit more limited, but much faster
CMake - cross platform, very complete, on par with Make on every level (including ugliness and complexity)
Premake - cross platform, makes IDE file but can also write makefiles for you.
- jhasse 14y agowaf is cross-platform (Python) https://code.google.com/p/waf/ https://code.google.com/p/waf/
- lifthrasiir 14y agoI don't know if waf is really faster than other alternatives, but having used waf in production, I can safely say that deploying waf is at best hellish. A single-file script with zipimported package that extracts itself to a world-writable hidden directory? Crazy.
- eckzow 14y agoFor Unix-only and smaller projects another great option is fabricate.py
- Game_Ender 14y agoThanks for the tip on fabricate, it appears to be just the tool I was looking for. A light weight dependency based "build" system in python that is not focused on distutils or making python packages. We shall see how well it works for data processing.
- queensnake 14y ago'Drake' for that use was on here too, not too long ago. http://blog.factual.com/introducing-drake-a-kind-of-make-for-data http://blog.factual.com/introducing-drake-a-kind-of-make-for...
- CmdrKrool 14y agoAnother vote for Fabricate; here's a comment of mine from a while back explaining in detail why I prefer it (or Tup) to Make. http://news.ycombinator.com/item?id=4190804 http://news.ycombinator.com/item?id=4190804 I use it on Windows too with an strace replacement I wrote which isn't online but if anyone's interested then just ask.
- catenate 14y agoI'm also writing a redo-inspired build tool, but less devoted to djb's vision, and more intent on taking advantage of some nice features of Inferno/Plan 9. For example, the /env filesystem allows dependencies on environment variables. The <{} syntax allows parallelism while grouping output. In a nutshell, credo tries to advance the build-tool state of the art, by replacing *ake files with shell-scriptable commands to build a system from bits of library code. More at http://github.com/catenate/credo http://github.com/catenate/credo See especially the first literate test, which has a more complete introduction.