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

Don’t forget discoverability - writing «make» and whacking tab gives you a nice menu of what can be done with the Makefile. (Just, too.)


But any shell that tab completes make targets should also tab complete executables? Just write ./scripts (or whatever) and whack tab.


I don’t know where to start when the script is in ./Scripts/ or ./tools or ./bin or ./shared/tools. Make has a convention that its file is called Makefile. Just has Justfile. Easy to find. Justfile - here I don’t even have to find it, the «just» executable will search up the directory tree.


Most people know about scripts and what are for. Most people don't know anything about just or what a "Justfile" is.


Most people with a programming or Unix sysadmin background know about Make and what it is for (i.e. compiling source code, plus building and installing system tools).

Knowing that 'Just' is an alternative to Make for running project utility scripts, it may gain popularity and become as well known.


I can't defend Just but everyone on UNIX should know what a Makefile is. Make is a standard. Scripts are just a mess.


I'm not sure `make` is any less of a mess, to be fair. Especially when you're trying to use `make` for general project automation rather than the standard set of build tasks.




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

Search: