News for hackers. Stuff that matters.
Re:Just: Just a Command Runner by erichdongubler on Saturday December 07, 2024 @12:30PM (#42351237)
> The big advantage of Make is that it is probably already installed.

...unless you're on Windows, like me!

Re:Just: Just a Command Runner by deaddodo on Saturday December 07, 2024 @12:48PM (#42351371)
Make is installed on Windows, if you install Microsoft's C/C++ dev stack (typically via installing Visual Studio). They just use nmake instead of GNU make. They also include Cmake these days, as it's the common cross platform option.
Re:Just: Just a Command Runner by BeetleB on Saturday December 07, 2024 @02:55PM (#42352387)
> if you install Microsoft's C/C++ dev stack (typically via installing Visual Studio).

So I have to install this huge dependency just to use make, when my project is in Python?

Way easier to install just :-)

Re:Just: Just a Command Runner by deaddodo on Saturday December 07, 2024 @07:27PM (#42353995)
You wouldn't use GNU Make (the thing that comes for "default" on Linux) with Python either.

What a weird way to converse.

Re:Just: Just a Command Runner by BeetleB on Sunday December 08, 2024 @12:45AM (#42355231)
> You wouldn't use GNU Make (the thing that comes for "default" on Linux) with Python either.

But people do use Make all the time for Python projects - as a command runner. Pelican projects, for example, come with a Makefile to start the server, publish, etc.

The whole point of this submission is that many, many people use Makefiles not for incremental builds, but as a convenient place to store commonly used commands. And just is a better and simpler tool than make for that. If you're on Windows, it's a pain to install make, compared to installing just.

Re:Just: Just a Command Runner by ttyprintk on Saturday December 07, 2024 @09:57PM (#42354702)
Busybox comes with a vestigial make. I wager git might. Those are both in winget.