Hacker News new | ask | show | jobs
by frankwiles 789 days 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.
9 comments

I'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.
> it's on pretty much every system

Some system have GNU, some BSD.

> at least trivial to install

Then same for `just`, package manager have it.

This is why I'm uninterested in just. I'd rather just use make than add another dependency.
Heresy, I know, but Make is a dependency in windows land.
Luckily few of my users build from source on Windows.
It would have taken you less time to install it than it took you to write your comment.
You're not accounting for updating my hundreds of existing Makefiles and CI config, and asking users to install yet another build dependency.
If 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?

Why ask all my users to install just, when make works fine? Adding a build dependency is always undesirable.

just doesn't even do many of the things make does, as the README states: "just is a command runner, not a build system"

I'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

Have moved all my 'frontend' Makefiles to Just and couldn't be happier.
It doesn't do conditional processing of only out of date dependencies though, which is something that is often needed.
Seconded. For all the million things we used Makefiles for besides compiling software, Just is much more ergonomic.
Looks interesting.
Agree.

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.

Came 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.
lol that's a purple link for me: https://github.com/casey/just