Skip to content

just

"Just a command runner" - https://github.com/casey/just

Practical use

Many people use make as a task runner even though it was not designed for that purpose. just is designed for that purpose. It has several improvements over make that make it more compelling:

  • justfile syntax does not require command lines to start with tabs. For some people, this alone is enough to make just a better option.
  • just -l lists all available recipes, something that is not standard in make.
  • just can be run from any subdirectory within a project, and it will look up through the subdirs for a justfile and run the command from the directory the justfile is located within. This can be overridden using the [no-cd] attribute on the target. https://just.systems/man/en/working-directory.html