Мы используем 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
📰 New AgingFly malware used in attacks on Ukraine govt, hospitals
A new malware family named 'AgingFly' has been identified in attacks against local governments and hospitals that steal authentication data from Chromium-based browsers and WhatsApp messenger.
🔗 Source: https://www.bleepingcomputer.com/news/security/new-agingfly-malware-used-in-attacks-on-ukraine-govt-hospitals/
#chromium
📰 Chromium on MediaTek: From testing to real-world performance on Genio 700 & 720
A deep dive on the current status of Chromium enablement on MediaTek Genio SoCs, including what the numbers look like when MediaTek’s hardware codecs are driven by Chromium’s V4L2 paths.
🔗 Source: https://www.collabora.com/news-and-blog/news-and-events/chromium-hardware-codecs-on-mediatek-genio-700-and-720-from-test-plans-to-real‑world-performance.html
#chromium
Google is throwing #Chromium browser under the bus, as it is removing the Sync support from it and removing the API keys which it gave to Linux distributions.
https://hackaday.com/2021/01/26/whats-the-deal-with-chromium-on-linux-google-at-odds-with-package-maintainers/
📰Bork in Prague: SUSE's keynote gods demand their tribute
Linux vendor touts European independence while rate limits, Chromium popups, and cold sparks steal the show BORK!BORK!BORK! The keynote gods are a fickle bunch, as SUSE discovered at its annual shindig in Prague. What should have been a slick edge demo instead served up error pages to unsuspecting attendees, while keynote presentations attracted some unwelcome visitors.…
🔗 Source: https://go.theregister.com/feed/www.theregister.com/2026/04/29/never_anger_the_keynote_demo/
#chromium#linux
📰Raspberry Pi owners are missing this one free tweak that changes everything
A couple of years ago, when I was working on my Raspberry Pi 5, I noticed that it was very slow. I googled possible reasons, and the main one was its lack of RAM. It has 4 gigs of RAM, but I noticed that running multiple Chromium tabs made it run at a snail's pace. So, I looked for ways to increase the RAM. Given that I was using an SD Card as a hard drive, using a swap file wasn't really an option. However, I found a program called ZRAM and...
🔗 Source: https://www.xda-developers.com/free-tweak-old-pi-changes-everything/
#chromium#raspberry
📰 Latest Raspberry Pi OS Release Disables Passwordless sudo by Default
Raspberry Pi OS 2026-04-13 is now available for download with a much-improved Control Center app, passwordless sudo disabled by default, Chromium enhancements, and many other changes.
🔗 Source: https://9to5linux.com/latest-raspberry-pi-os-release-disables-passwordless-sudo-by-default
#chromium#raspberry
📰 Latest Raspberry Pi OS Release Disables Passwordless sudo by Default
Raspberry Pi OS 2026-04-13 is now available for download with a much-improved Control Center app, passwordless sudo disabled by default, Chromium enhancements, and many other changes.
🔗 Source: https://9to5linux.com/latest-raspberry-pi-os-release-disables-passwordless-sudo-by-default
#chromium#raspberry
📰HarfBuzz 14.0 Released With New GPU Accelerated Text Rendering Library
HarfBuzz is the open-source text shaping engine originally born out of the FreeType project and now widely-used by GNOME, KDE, Java, Flutter, Godot, Chromium, LibreOffice, and countless other applications. HarfBuzz 14.0 released today and making this release quite exciting is introducing a GPU-accelerated text rendering library...
🔗 Source: https://www.phoronix.com/news/HarfBuzz-14.0-Released
#kde#opensource#chromium#gnome