Re:Tired of Makefiles
by cassianoleal on Monday May 13, 2024 @06:43PM
(#40349434)
I have never used just, but one major advantage of make is that it pretty much exists everywhere - I can assume it's present and I'll be right almost every time.
Re:Tired of Makefiles
by eikenberry on Monday May 13, 2024 @06:57PM
(#40349544)
Just looks nice but isn't very prevalent yet. One of make's strengths is that it is everywhere.
Sigh. The problem is just isn't as portable and doesn't do cached file dependencies. It tries to be better than make but it's a step backwards, more like yet another shell language.
The sibling's comment (re. just shell in files) is good too, and often I'll put all the various commands into a subdir, and `just` is just an interface to that, particularly so if a given script/command gets complex.
Then, `just` is really a signal "hey, this repo supports this interface" and things like `just -l` for discoverability.