Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

make is a build system and has a lot of complexity in it to make it optimal (or at least attempt to) for that use case.

just is a "command runner" and functionally the equivalent of packing up a folder full of short scripts into a single file with a little bit of sugar on top. (E.g., by default every script is executed with the CWD being the folder the justfile is in so you don't need to go search for that stackoverflow answer about getting the script's folder and paste that in the top of every script.)

If you use just as a build system, you're going to end up reimplementing half of make. If you try and use make as a command runner, you end up fighting it in many ways because you're not "building" things.

I've generally found the most value in just in situations where shell is a good way to implement whatever I"m doing but it's grown large enough that it could benefit from some greater organization.



> search for that stackoverflow answer about getting the script's folder and paste that in the top of every script

Ah, a fellow Person of Culture.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: