Мы используем 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
News: Political parties unveil symbols, slogans ahead of #Ethiopia’s 7th general election
Political parties have begun unveiling the symbols and slogans they will use for Ethiopia’s 7th national general #election, scheduled by the National Election Board of Ethiopia (#NEBE) for 1 June 2026, with the ruling #Prosperity Party and the Coalition for Ethiopian Unity among the first to present their campaign identities.
The Prosperity Party announced on 10 February 2026 that it will contest the election under a “sheaf of wheat” symbol accompanied by the slogan “Ethiopia to an exemplary nation!” The party introduced the symbol and slogan during a forum where it also presented its election manifesto prepared under the same theme.
Meanwhile, the Coalition for Ethiopian Unity told Addis Standard a “thumb” symbol will be used for the upcoming election.
The coalition said the symbol was.....
https://web.facebook.com/AddisstandardEng/posts/pfbid0UYNHQHU76VgAhRkQkY6HQrKEJT6RqgasEEjXKSqRgSdBPNy85ygiq9wGpCJ6nfvol
Saylor's 21 Bitcoin Principles Revealed
Michael Saylor shares key insights on Bitcoin ownership:
1. Experts buy Bitcoin.
2. Critics don’t understand it.
3. Opinions shift from negative to positive.
4. Learning about Bitcoin is endless.
5. Bitcoin thrives on chaos.
6. It’s a win-win game.
7. True ownership lies in Bitcoin.
8. You earn Bitcoin as per your worth.
9. Invest only what you can afford to lose.
10. Bitcoin is the ticket out of the matrix.
11. Understanding wants and needs drive comprehension.
12. Expect your models to break.
13. Bitcoin is the cure for economic woes.
14. Choose Bitcoin over fiat.
15. Bitcoin is for everyone.
16. Think in Bitcoin terms.
17. Bitcoin will change you.
18. Stay vigilant against lies.
19. Respect Bitcoin or be a fool.
20. Never sell your Bitcoin.
21. Spread the love for Bitcoin.
#Bitcoin#Saylor#Crypto#Investment#Finance#Ownership#Learning#Economics#Innovation#DigitalAssets#MarketTrends#Blockchain#Wisdom#Prosperity#Opinions#Integrity#Wealth#Future#Leadership#Value
[UZ] #EUROUZ jamoasi sizlarni #O'zbekiston Respulikasi #Konstitutsiyasi qabul qilinganligi #kuni bilan tabriklaydi! Tariximizdagi ushbu muhim sanani nishonlar ekanmiz, #Vatanimizga#farovonlik, #birdamlik, #taraqqiyot#bardoshlik tilab qolamiz!
-
[EN] #EUROUZ team extends congratulations on the occasion of #Constitution#Day of #Uzbekistan! Wishing #prosperity, #unity, and continued #progress to our #motherland as we celebrate this significant day in our history.
-
[RU] Команда #EUROUZ поздравляет соотечественников с Днём #Конституции Республики Узбекистан! Желаем процветания, единства и продолжения прогресса нашей #Родине в этот значимый день.
Follow #EUROUZ on Telegram: @eurouz_official