3 ms·
Nice project. Is it ready for prime time? Btw, are there any other alternatives to be compared with it and Make?
by kensai 4y ago
Nice project. Is it ready for prime time? Btw, are there any other alternatives to be compared with it and Make?
- lantry 4y agoI've seen a few, but the only one I can remember off the top of my head is just[0]. [0]: https://github.com/casey/just https://github.com/casey/just
- sontek 4y agoI use just and it is amazing.
- ekidd 4y agoYup! Two well-established alternatives are "rake", in the Ruby community, and "just" in the Rust community. Rake is fully programmable in Ruby. Just is a bit less flexible, but it doesn't require learning Ruby, and it's quite pleasant to use. https://ruby.github.io/rake/ https://ruby.github.io/rake/
- lloeki 4y agoAlso, many people using rake already are often biased by how Rails uses it, but it's much more than that, and can easily be used as a make replacement, complete with freshness checks and rules. There was an article specifically avout that on the interwebs but I can't find it anymore. These ones cover some bits as well, although they're a tad heavier on using Ruby code. https://martinfowler.com/articles/rake.html https://martinfowler.com/articles/rake.html http://www.throwtheswitch.org/build/rake http://www.throwtheswitch.org/build/rake
- masklinn 4y agoIt should be noted that just specifically does something make was not designed for but is often conscripted into: it’s not a build tool, it’s a command runner. So when you run a command it runs the dependencies then the commands, in full, every time. I very much prefer that usually, because either the underlying tooling handles checking if all’s right or there is no such checking to do and it would be a problem. But if you expect just to build your C project and handle not touching stuff which doesn’t need to be, you’ll be disappointed.
- summarity 4y agoThe dependency resolution is core to https://gittup.org/tup/ https://gittup.org/tup/ which had been adopted a bit at the time it came out but since faded back into obscurity.
- NeutralForest 4y agoThis looks cool, how have I never seen it mentioned before
- usual_science 4y agoThere is build2 https://build2.org/ https://build2.org/
- raja_mukherji 4y agoI've also written my own alternative to make called Rabs (https://github.com/wrapl/rabs https://github.com/wrapl/rabs) which uses an imperative language to specify the dependency graph as well as the build instructions. It's designed for really fast incremental builds.