3 ms·
I'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
by lantry 4y ago
I'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.