Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое.
Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению.
И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make.
just - это не система сборки как make, это именно исполнитель команд!
Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎
⭐️Что умеет just:
✅ Автодокументирование команд
Не нужно делать отдельную команду с докой, просто добавь комментарий
# команда сборки
build:
...
$ just --list
Available recipes:
build # команда сборки
Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так:
default:
just --list
Теперь просто выполняем just и получаем доку из текущего файла.
✅ Удобная работа с переменными окружения
# загрузить из .env
set dotenv-load
# глобальная переменная
export PYTHONPATH := "./src"
# переменная для команды
test $TESTUNG="true":
pytest
✅ Передача аргументов
build target:
@echo 'Build {{target}}...'
команда запуска
$ just build dev
# Build dev...
✅ Выбор интерпретатора прямо в команде
Пример с инлайн-скриптом на python:
system:
#!/usr/bin/env python3
import platform
print(platform.system())
Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки
foo:
#!/usr/bin/env sh
for file in ls .; do
echo $file
done
✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный
[working-directory: 'backend']
build:
docker compose build
Также можно задать рабочую директорию глобально
Там еще много интересного:
- поддержка функций
- автокомплиты и интеграции
- экспрешены
- алиасы команд
- группировка команд
- альтернативы команды под разные ОС
- импорт других just-файлов
- цветной вывод
- ... и другие штуковины!
Так что вперёд - ➡️ читать доку!
Репозиторий: ➡️https://github.com/casey/just
Статья: ➡️https://www.chicks.net/reference/file_formats/just/
ЗЫ. Кажется, на Makefile я уже не вернусь)
#tools
📰 MSI Claw Configuration Driver For Linux Coming Together With The Assistance Of AI
One of the latest Linux gaming handheld drivers being worked on is the MSI Claw Configuration Driver for controller configuration...
🔗 Source: https://www.phoronix.com/news/MSI-Claw-Configuration-Driver
#linux
📰Rust stalks IBM mainframes, but only in nightly form
Patch series would bring memory-safe code to Linux's s390 port, with compiler caveats attached.
🔗 Source: https://www.theregister.com/on-prem/2026/05/13/rust-stalks-ibm-mainframes-but-only-in-nightly-form/5239710
#linux
📰 Linux gains more critical Windows apps: 3D Movie Maker and Space Cadet Pinball
Further demonstrating its role as industry default OS the versatility of modern porting tools.
🔗 Source: https://www.theregister.com/oses/2026/05/13/linux-gains-more-critical-windows-apps-3d-movie-maker-and-space-cadet-pinball/5239455
#linux
📰Discord joke that it's The Year of the Linux Desktop
The Year of the Linux Desktop is finally here! Sort of. Well, not really but it's getting there and Discord has seen some nice improvements lately.Read the full article on GamingOnLinux.
🔗 Source: https://www.gamingonlinux.com/2026/05/discord-joke-that-its-the-year-of-the-linux-desktop/
#linux
📰 Fwupd 2.1.3 Linux Firmware Updater Adds Support for SHIFT6mq and SHIFTphone 8
Fwupd 2.1.3 Linux firmware updater is now available for download with support for the SHIFT6mq and SHIFTphone 8 modular smartphones, as well as various other improvements.
🔗 Source: https://9to5linux.com/fwupd-2-1-3-linux-firmware-updater-adds-support-for-shift6mq-and-shiftphone-8
#linux
📰 I tested every Linux desktop and realized fragmentation isn't a problem anymore
Choosing a Linux desktop used to be a make-or-break decision, but nowadays, things are much less complicated.
🔗 Source: https://www.xda-developers.com/tested-every-linux-desktop-realized-fragmentation-problem-anymore/
#linux
📰 F2FS Preparing FSERROR Reporting Support
Introduced in Linux 7.0 was FSERROR as generic I/O error reporting infrastructure. Linux to that point had no standardized mechanism for reporting metadata corruption or file I/O errors to user-space with each file-system doing its own thing. The Flash-Friendly File-System (F2FS) is now the latest Linux file-system preparing for FSERROR usage...
🔗 Source: https://www.phoronix.com/news/F2FS-FSERROR
#linux
📰 Linux 7.0.6 Released To Finish Mitigating the Dirty Frag Vulnerability
Linux 7.0.6 is out as stable this morning to finish mitigating the Dirty Frag vulnerability that was made public last week...
🔗 Source: https://www.phoronix.com/news/Linux-7.0.6-Released
#linux