Мы используем 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
From Strategic Silence to Sovereign Statecraft: Recalibrating Ethiopia’s Path on the GERD. Read.
https://borkena.com/2026/01/26/ethiopia-gerd-from-strategic-silence-to-sovereign-statecraft-recalibrating-ethiopias-path-on-the-gerd/#Ethiopia#GERD#Egypt
News: #Egypt shifts narrative on GERD, demands compensation from #Ethiopia
Egypt has shifted its public stance on the Grand Ethiopian Renaissance Dam (#GERD), with the country’s Minister of Water Resources and Irrigation, Hani Sweilem, demanding that the dam pay compensation for the damage it has caused to Egypt and #Sudan.
Speaking during a plenary session of the Egyptian Senate on Sunday, Minister Sweilem said that no dam of GERD’s scale has ever been constructed on the Nile River through unilateral action. He claimed the dam has already reduced Egypt’s share of Nile water by 38 billion cubic meters from its allocated 55 billion cubic meters.
Ethiopia, which built the GERD on the Blue Nile in line with its sovereign rights, has consistently emphasized that the dam is designed to regulate seasonal floods and generate hydropower, not to reduce downstream water allocations.
On 16 January 2026, #US President Donald J. Trump offered to restart .....
Read more: https://addisstandard.com/?p=54644
The Spirit of Adwa Must Carry Ethiopia Through GERD and the RED SEA. Read more.
https://borkena.com/2026/03/25/ethiopia-the-spirit-of-adwa-must-carry-ethiopia-through-gerd-and-the-red-sea/#Ethiopia#politics#geopolitics#GERD#EthiopianPolitics
Why International Law Supports Ethiopia’s Right to Build the GERD. Read more.
https://borkena.com/2026/01/28/ethiopia-why-international-law-supports-ethiopias-right-to-build-the-gerd/#Ethiopia#Egypt#GERD#InternationalLaw
#Commentary: From Internal Unity to Strategic Diplomacy: #Ethiopia’s playbook for dealing with Trump’s #America
In this commentary, Teferi Tafa examines how the Trump administration’s renewed engagement over the Grand Ethiopian Renaissance Dam (#GERD) and Nile water disputes has intensified Ethiopia’s strategic challenges. He notes that “Ethiopia faces a critical moment that demands not just reactive diplomacy but a comprehensive strategy rooted in internal cohesion and enhanced bargaining power.”
Highlighting internal division and conflicts as the greatest vulnerability, Teferi states, “No amount of diplomatic maneuvering can compensate for a house divided against itself.”
He concludes, “Ethiopia’s response to this diplomatic moment will define not just its relationship with the Trump administration but also its trajectory for the coming decade.”
https://addisstandard.com/?p=54948
Donald Trump Thinks the flow of Nile water is “blocked” by the Ethiopian Dam. Read more. https://borkena.com/2026/01/22/trump-remark-on-ethiopian-dam-all-of-a-sudden-the-water-flow-is-blocked/#Ethiopia#News#Trump#Nile#GERD#Egypt
News: #Egypt denies report linking Red Sea access to #GERD flexibility
Egypt has categorically denied claims that it offered to help #Ethiopia secure access to the #Red_Sea in exchange for flexibility over the Grand Ethiopian Renaissance Dam (GERD), according to Al-Ahram.
Citing a responsible Egyptian source, the newspaper said on Tuesday that reports suggesting Cairo was prepared to grant Ethiopia maritime access were “entirely unfounded” and had no basis in fact. The source reaffirmed that Egypt’s position on water security and the GERD “remains firm and unchanged.”
The denial follows a report by The National, which cited unnamed sources in Cairo as saying Egypt had conveyed a proposal to Prime Minister #Abiy Ahmed last week.
“No other states have the right to participate in any arrangements or understandings concerning the Red Sea,” the source added.
Read more: https://addisstandard.com/?p=55395
#Commentary: When Mediation Becomes Intimidation: #GERD, Trump, and #Ethiopia’s sovereign rights
The Grand Ethiopian Renaissance Dam (GERD) is now fully operational, shifting the Nile dispute from theory to practical governance and transforming Ethiopia’s energy sector. However, Hassen Mama Muse argues that this progress is threatened by “biased external interference,” particularly from #US President Donald Trump.
He describes Trump’s renewed mediation offer as not a diplomatic opening but “a form of coercive diplomacy.”
Hassen points to Trump’s rhetoric—labeling the dam as “stopping the #Nile” and suggesting #Egypt should “blow up the dam”—as clear evidence that he cannot act as “a neutral mediator.” Engaging in such a process, the author cautions, would force Ethiopia to “compromise” its lawful rights.
https://addisstandard.com/?p=54740
Days after letter to #Egypt’s President El-Sisi, #Trump vows to resolve 'GERD dispute'
Speaking at a #White_House press briefing yesterday, U.S. President Donald Trump said he had intervened to avert a potential conflict between #Ethiopia and Egypt over the Grand Ethiopian Renaissance Dam (#GERD), claiming the two countries “were going to fight over a dam.”
Trump described GERD as “the biggest dam in the world,” alleged it restricts Nile water flow to Egypt, and reiterated his claim that the United States financed the project.
In July, the GERD Coordination Project Office rejected the claim, with Deputy CEO Fikrte Tamiru saying the dam was built through public and government support, without “a single cent” from foreign loans or aid, and calling it the product of Ethiopians’ “sweat, labor, and even blood.”
Trump said the issue remains unresolved.
Watch
News: #PM_Abiy rejects claims of foreign financing for #GERD, says project built without external loans or aid
Prime Minister Abiy Ahmed has publicly pushed back against claims that the Grand #Ethiopian Renaissance Dam (GERD) was financed by the #United_States or other foreign actors, stating that the flagship project was completed without Ethiopia taking “a single birr” in external loans or foreign aid.
The Prime Minister made the remarks while responding to questions during a regular session of the House of Peoples’ Representatives (#HoPR) on Tuesday, marking the first time he has directly addressed, in a parliamentary setting, recent rhetoric alleging foreign financing of the dam.
GERD is a historic national project realized entirely through the sacrifice, determination, and contributions of the Ethiopian people, Abiy told lawmakers, emphasizing that both citizens at home and members of the diaspora financed the project ....
Read more: https://addisstandard.com/?p=54933