Project automation with the Just task runner
Just in Time
Just is a command runner that lets you define project-specific tasks in a declarative justfile.
Modern Linux development often involves juggling various scripts and makefiles to automate tasks such as building software, running tests, or managing environments. Just is a relatively new task runner – essentially a command runner – offering a fresh alternative to ad-hoc Bash scripts and GNU Make for project automation. Unlike traditional build systems, Just focuses on simplicity and consistency, providing a streamlined way to define and run project-specific commands via a justfile.
Why Just?
Seasoned Linux users often default to Bash scripts or makefiles for project automation. Bash scripts are straightforward but can become messy as a project grows, lacking a unified interface for running various tasks. GNU Make, on the other hand, provides a formal structure but comes with historical quirks (such as tab-indentation issues and implicit rules) and is meant primarily for build automation with file targets. Just positions itself as a "command runner, not a build system," avoiding much of Make's complexity. In practical terms, this means no need for managing phony targets – every Just recipe is essentially "phony" by default, because Just doesn't track file timestamps or rebuild logic.
Just brings several advantages for Linux automation:
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Framework Laptop 13 Pro Competes with the Best
Framework has released what might be considered the MacBook of Linux devices.
-
The Latest CachyOS Features Supercharged Kernel
The latest release of CachyOS brings with it an enhanced version of the latest Linux kernel.
-
Kernel 7.0 Is a Bit More Rusty
Linux kernel 7.0 has been released for general availability, with Rust finally getting its due.
-
France Says "Au Revoir" to Microsoft
In a move that should surprise no one, France announced plans to reduce its reliance on US technology, and Microsoft Windows is the first to get the boot.
-
CIQ Releases Compatibility Catalog for Rocky Linux
The company behind Rocky Linux is making an open catalog available to developers, hobbyists, and other contributors, so they can verify and publish compatibility with the CIQ lineup.
-
KDE Gets Some Resuscitation
KDE is bringing back two themes that vanished a few years ago, putting a bit more air under its wings.
-
Ubuntu 26.04 Beta Arrives with Some Surprises
Ubuntu 26.04 is almost here, but the beta version has been released, and it might surprise some people.
-
Ubuntu MATE Dev Leaving After 12 years
Martin Wimpress, the maintainer of Ubuntu MATE, is now searching for his successor. Are you the next in line?
-
Kali Linux Waxes Nostalgic with BackTrack Mode
For those who've used Kali Linux since its inception, the changes with the new release are sure to put a smile on your face.
-
Gnome 50 Smooths Out NVIDIA GPU Issues
Gamers rejoice, your favorite pastime just got better with Gnome 50 and NVIDIA GPUs.
