4 ms·
Author here. I like `just` too, but it's missing a few features: * It can't run tasks in parallel * It doesn't handle file dependencies. i.e: it's just a task
by polyrand 3y ago
Author here. I like `just` too, but it's missing a few features:
* It can't run tasks in parallel
* It doesn't handle file dependencies. i.e: it's just a task runner, not a build tool.
* It's another tool you have to install, make comes pre-installed in most UNIX-like operating systems.
- xlii 3y agoThere’s a problem hidden. MacOS make is outdated (or not GNU flavor not sure) and, for example, doesn’t support parallel tasks by default or some more advanced recipes. Asking people to use gmake on a standard Makefile is much more difficult than just asking to install Justfile runner.
- polyrand 3y ago100% agree, and this bothers me a lot. I like `just`, but for some reason I keep coming back to `make`. > or not GNU flavor not sure On my macOS laptop which make # /usr/bin/make /usr/bin/make --version # GNU Make 3.81 > doesn’t support parallel tasks by default I haven't verified this. I've checked `make --help` using the built-in make on my Mac (GNU Make 3.81), it mentions the `--jobs` option to run multiple jobs in parallel.
- xlii 3y agoChecking the GNU Make manual it might me .NOTPARALLEL flag that wasn’t recognized correctly. Cannot provide precise issues with (as it was more then a year) but I encountered 3-4 problems after having complete Makefile which was kind of downer because I had to rewrite it to support “vanilla” make. In the end I dropped parallel went with Justfile and it took fraction of time (but truth be told I had dynamic PHONY targets which aren’t super easy to setup in Make).