5 ms·
If you’re really looking for a tool to collect small steps/script I highly recommend you check out the ‘just’ cli tool. It’s completely replaced our use of Make
by frankwiles 2y ago
If you’re really looking for a tool to collect small steps/script I highly recommend you check out the ‘just’ cli tool. It’s completely replaced our use of Make and the syntax is much easier.
- AceJohnny2 2y agolol that's a purple link for me: https://github.com/casey/just https://github.com/casey/just
- kstrauser 2y agoSeconded. For all the million things we used Makefiles for besides compiling software, Just is much more ergonomic.
- ___timor___ 2y agoLooks interesting.
- devsda 2y agoAgree. I should specifically mention their docs. The docs are easily approachable with plenty of clear and concise examples. I even have a pdf copy of the doc book for quick reference.
- srid 2y agoI've been using this on almost all of my projects, and am really pleased with it. Shell autocompletion is a nice bonus. If you also Nix, checkout `just-flake`: https://github.com/juspay/just-flake https://github.com/juspay/just-flake
- MrDresden 2y agoHave moved all my 'frontend' Makefiles to Just and couldn't be happier.
- ricardobeat 2y agoCame here to say the same. Make works fine, until it evolves into a web of commands and associated shell scripts, and then most users give up on trying to understand what is happening. Justfiles are much more manageable.
- Pesthuf 2y agoI've always wanted to use one of those, but you have to convince the other developers on your team to use it as well. Make is a relatively easy sell because it's on pretty much every system or at least trivial to install and has decades of reputation.
- ErikBjare 2y agoThis is why I'm uninterested in just. I'd rather just use make than add another dependency.
- metaltyphoon 2y agoHeresy, I know, but Make is a dependency in windows land.
- ErikBjare 2y agoLuckily few of my users build from source on Windows.
- pdimitar 2y agoIt would have taken you less time to install it than it took you to write your comment.
- ErikBjare 2y agoYou're not accounting for updating my hundreds of existing Makefiles and CI config, and asking users to install yet another build dependency.
- pdimitar 2y agoIf it's hundreds, I'll agree with you, obviously that would be a huge effort to migrate. But you made the argument that adding another build dependency is somehow difficult or undesirable which I can't see; the tool is installed in seconds on all major OS-es and package managers. So let's not conflate those two separate things, yeah?
- foobarqux 2y agoIt doesn't do conditional processing of only out of date dependencies though, which is something that is often needed.
- xonix 2y agoOr makesure: https://makesure.dev/ https://makesure.dev/