Мы используем 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
Set your alarms early TOMORROW morning, March 3! ⏰🌕
A total lunar eclipse aka a “Blood Moon” is happening early Tuesday morning, March 3 and it’s a good one.
For most of us across the U.S., the lunar show starts before sunrise with peak totality around the middle of the hour depending on your time zone. During peak, the Moon turns that deep copper red as Earth’s shadow completely covers it.
No telescope needed. Just step outside, look up, and give your eyes a minute to adjust. Clouds permitting, this one will be hard to miss! Drop me your pictures if you catch it! #lunareclipse#bloodmoon
🔹👉🏻@SherriTenpenny
🪞 The Prophecy Paradox — Part One
The Mirror Washington Refuses to See
A Red Nile Media Exclusive Analysis (Two Parts)
Since February 28, 2026, the United States and Israel have launched a massive military campaign against Iran—assassinating most of its leadership, including Ayatollah Khamenei.
I’ve tried to make sense of this war from every angle—oil, nuclear proliferation, regional power, national interest. But it keeps coming back to the same conclusion:
It makes no sense… unless you see it through the lens of religious belief.
🔹 Hypocrisy in Plain Sight
American politicians publicly call Iran’s leaders “religious fanatics,” mocking their belief in the Twelfth Imam and apocalyptic visions.
Yet those same politicians—including Trump, his AIPAC allies, and the Zionist extremists around him—are driven by an equally fervent, apocalyptic faith.
They cherry-pick Bible verses. They embrace prophecies requiring the destruction of Al-Aqsa Mosque. They openly welcome Armageddon as a divine goal.
Washington projects onto Iran what it refuses to confront in itself.
In this must-read thread:
⚡️ The apocalyptic briefings the military hides
⚡️ How Purim & a “blood moon” shape the war
⚡️ The men in power fantasizing about destroying Al-Aqsa
A Note on Length:
I apologize that this article is a little long. But I promise you—if you read it in its full content, you will benefit. This is not casual reading. It is a detailed examination of forces that mainstream media refuses to touch. Take your time with it. Share it with others who need to understand what is really driving this war.
---
♦️If you find value in this work, please support Red Nile Media in any way you choose.
🔗 [Read Full Analysis]
#TheProphecyParadox#RedNileMedia#IranWar#Geopolitics#ChristianZionism#Purim#BloodMoon#ThirdTemple
🪞 The Prophecy Paradox — Part One
The Mirror Washington Refuses to See
A Red Nile Media Exclusive Analysis (Two Parts)
Since February 28, 2026, the United States and Israel have launched a massive military campaign against Iran—assassinating most of its leadership, including Ayatollah Khamenei.
I’ve tried to make sense of this war from every angle—oil, nuclear proliferation, regional power, national interest. But it keeps coming back to the same conclusion:
It makes no sense… unless you see it through the lens of religious belief.
🔹 Hypocrisy in Plain Sight
American politicians publicly call Iran’s leaders “religious fanatics,” mocking their belief in the Twelfth Imam and apocalyptic visions.
Yet those same politicians—including Trump, his AIPAC allies, and the Zionist extremists around him—are driven by an equally fervent, apocalyptic faith.
They cherry-pick Bible verses. They embrace prophecies requiring the destruction of Al-Aqsa Mosque. They openly welcome Armageddon as a divine goal.
Washington projects onto Iran what it refuses to confront in itself.
In this must-read thread:
⚡️ The apocalyptic briefings the military hides
⚡️ How Purim & a “blood moon” shape the war
⚡️ The men in power fantasizing about destroying Al-Aqsa
A Note on Length:
I apologize that this article is a little long. But I promise you—if you read it in its full content, you will benefit. This is not casual reading. It is a detailed examination of forces that mainstream media refuses to touch. Take your time with it. Share it with others who need to understand what is really driving this war.
---
♦️If you find value in this work, please support Red Nile Media in any way you choose.
🔗 [Read Full Analysis]
#TheProphecyParadox#RedNileMedia#IranWar#Geopolitics#ChristianZionism#Purim#BloodMoon#ThirdTemple