Мы используем 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
Tribute: Essential Rules for Content Monetization
#Tribute#Telegram
Tribute channel emphasizes the importance of rules for creators monetizing their Telegram channels. Key rules are summarized in easy-to-understand cards, and further details can be found on their Wiki.
Source: link
@tonlines
Tribute: Launch Your Online Store on Telegram Effortlessly
#Telegram#Tribute
Tribute offers tools for quickly setting up an online store on Telegram, including features like collections, preliminary shipping cost calculation, and LinkHub for product aggregation. The channel seeks feedback on additional features to enhance user experience.
Source: link
@tonlines
Tribute Makes Payments Easier for Creators
#Tribute#Stars
The channel @TributeNewsEN highlights a new feature allowing creators to generate web payment links for digital products. These links enable payments in rubles or euros via bank cards, facilitating transactions on social media and other platforms.
Source: link
@tonlines
Tribute Introduces LinkHub for Content Monetization
#Tribute#LinkHub
Tribute | Monetize your content introduces LinkHub, a centralized platform where users can display products, manage donation goals, and consolidate all paid channels. This tool allows easy sharing of all offerings in a single link.
Source: link
@tonlines
Tribute Empowers Creators with Public API Access
#Tribute#webhooks
@TributeNewsEN introduces public API access keys, allowing for seamless data integration with external services. Currently, creators can utilize two webhooks for subscription management.
Source: link
@tonlines
Tribute: Celebrating International Creator Day
#Tribute#creators
Tribute | Monetize your content celebrates International Creator Day on April 23, recognizing the creativity and hard work of content creators. The channel encourages creators to continue entertaining and inspiring audiences.
Source: link
@tonlines
⚡️Tribute: Updated Affiliate Program Announcement
#Tribute#affiliate
The Tribute channel has updated its affiliate program to help content creators expand their audience and enable partners to earn money by promoting private channels. Detailed information is available on their wiki.
Source: link
@tonlines
Tribute: Voice Actor Shares Success Story
#Tribute#voice
Tribute shares insights from a voice actor who has mastered monetizing talent using the platform. Learn how they turn their passion for voice acting into income.
Source: link
@tonlines
#Tribute: Professor Asmarom Legesse: Pioneer Scholar Who Illuminated the #Gadaa System to the World
Professor Asmarom Legesse, the Eritrean-born anthropologist who redefined African democratic discourse, passed away on January 31, 2026, aged 94. In this tribute, Teferi Tafa notes the Harvard-trained scholar "spent over half a century documenting the #Oromo Gadaa system, dismantling colonial myths that dismissed indigenous #African governance as primitive."
The author explains that Asmarom’s works revealed "a sophisticated constitutional order" featuring rotational leadership and term limits. He proved that Gadaa was "a highly developed system of checks and balances... that had governed Oromo society for centuries."
Tafa emphasizes that Asmarom’s legacy of "intellectual decolonization" establishes him as a hero to the Oromo and a titan of global anthropology.
https://addisstandard.com/?p=55081