Мы используем 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
🚀 Next week, the wait is over! 🎉 You'll officially be able to deposit $SING into the Tycoon Game and unlock its amazing utilities:
🔹 Pay fees for withdrawals
🔹 Cover transaction fees on the Marketplace
🔹 Buy $KARA in the shop
🔹 Use as a fee for wallet check-ins
🔹 List and trade NFTs on the Marketplace
🔹 Spin the Supreme Spin for massive rewards!
🔥 Hold onto your $SING and grab more while it’s still at a great price today. This won’t last long — soon, $SING will be in even higher demand! 💎
👉#SingSingTycoon#SING#NextBigThing
🎤Announcement | Chat | X (Twitter) | Website | Game
🚨 Exclusive: $5M Raised in Phase 2 🚨
Royals & Whales are buying SHHEIKH.
Price: $0.00405 with 5% bonus.
Your early chance won’t last.
👉www.shheikh.io
#Crypto#Blockchain#AI#RWA#DeFi#Tokenization#Altcoins#CryptoCommunity#CryptoInvesting#Presale#BullRun2025#NextBigThing
🚀 Analyst Price Targets: $2–$5 Long Term 🚀
Royals see it. Whales see it.
Do you?
Buy at $0.00405 before it’s too late.
👉www.shheikh.io
#Crypto#Blockchain#AI#RWA#DeFi#Tokenization#Altcoins#CryptoCommunity#Presale#BullRun2025#NextBigThing#Wealth
🚨 Presale Alert: SHHEIKH
$SHHEIKH Is the Talk of the Town Royals are watching. Whales are buying.
🔥 Total Pool: $5.52M+ raised in Phase 2 already!
AI + RWA = not just hype, but the future of finance.
$0.00405 with 5% bonus. Time to move.
🔗 Presale Link:www.shheikh.io
===========================
📝 Tasks:
🔘 Follow their Twitter account
🔘 Join their Telegram Channel
🔘 Join their Presale
===========================
📅 End Date: 07 October 2025
🔴Note:Make sure to conduct thorough research (DYOR) before joining. Please note that this is not financial advice, and it's important to understand all risks involved beforehand.
#Crypto#Blockchain#AI#RWA#DeFi#Altcoins#CryptoNews#Presale#Investing#BullRun2025#WealthBuilding#NextBigThing
📦New Project Spotlight: SHHEIKH Token 🔥
🪙 Phase 2 Live: $0.00405 + 5% Bonus
💎Rating: ⭐️⭐️⭐️⭐️⭐️
🔗Participate now: www.shheikh.io
===========================
📣How to participate:
✅Visit www.shheikh.io
✅ Connect your wallet
✅ Purchase SHHEIKH tokens (Min: $10)
✅ Receive instant 5% bonus
✅ Follow their Twitter & Join Telegram
===========================
🖥SHHEIKH has raised $6.53M+ USDT and sold 2.05 BILLION tokens in Phase 2. Recognized as the #1 AI + RWA project of 2025, combining artificial intelligence with real-world asset tokenization.
🚨Why investors are watching:
✅Royals & whales accumulating positions
✅ $6.53M+ raised from global investors
✅ Analysts' top AI + RWA pick for 2025
✅ Still early entry before phase closes
#Crypto#Blockchain#AI#RWA#DeFi#Altcoins#Tokenization#BullRun2025#NextBigThing#Presale#Wealth#CryptoCommunity
🔴Note:Please do your own research (DYOR) before participating. This is not financial advice (NFA).
📦Exclusive Project Spotlight: SHHEIKH Token 👑
🛍 Phase 2 Price: $0.00405 | Minimum: $10 USDT
💎 Status: Gaining Major Royal Attention
🔗Official Site: www.shheikh.io
===========================
📣How to Participate:
✅Visit www.shheikh.io
✅ Connect Your Wallet
✅ Purchase SHHEIKH Tokens
✅ Follow Twitter & Join Telegram
===========================
🔥SHHEIKH has raised $6.53M+ USDT with confirmed interest from Middle Eastern royal investors. This AI-powered RWA project represents real institutional momentum and technological innovation.
🚨Key Highlights:
✅$6.53M+ raised from global investors
✅Middle Eastern royals in active talks
✅ Real institutional power and backing
✅ Limited time remaining in Phase 2
#Crypto#Blockchain#AI#RWA#DeFi#Altcoins#Tokenization#Presale#CryptoCommunity#BullRun2025#Wealth#NextBigThing
🔴Note:Please do your own research (DYOR) before participating. Nothing in this post is financial advice (NFA).