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
-
United Nations Open Source Portal Goes Live
A new open source portal seeks to coordinate and scale open source efforts across the United Nations system.
-
KDE Linux Drops AUR
KDE Linux developers have dropped the Arch User Repository from the build pipeline due to security concerns; other distributions should consider doing the same.
-
California May Exempt Linux from Its Age-Verification Law
After backlash from the Linux community, California may be backing off on its promise to force all operating systems to verify age, but one platform may still have to comply.
-
Another Logic Bug Found in Linux Kernel
Qualys has discovered a vulnerability in the Linux kernel that can be used to elevate standard user privileges.
-
Ubuntu Core 26 Offers Game-Changing Enterprise Features
Ubuntu Core 26 could be a game-changer for organizations looking for increased security and reliability.
-
AI Flooding the Linux Kernel Security Mailing List
AI is giving Linus Torvalds a headache, but not in the way you might think.
-
Top Priorities for Open Source Pros Seeking a New Job
Professional fulfillment tops the list, according to LPI report.
-
Container-Based Fedora Hummingbird Designed for Agent-First Builders
Fedora Hummingbird brings the same approach to the host OS as it does to containers to level up security.
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
