Мы используем 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
🎇 The final round of the #MemeContest is here! The memes are beary bee hilarious, but only one can reign supreme! 🏆1000 BEE⚡️
✨VOTE NOW ON X✨
https://x.com/BeraSigHub/status/1808780316561322051
Meme Contest Winners: USDT Rewards Collection 💸
We’ve heard you loud and clear — many of you asked for USDT rewards, and we’re making it happen.
All 250 winners from the Meme Contest will receive their rewards in USDT equivalent!
Please fill out the form below to receive your prize.
🔗Google Form Link
🚨 Important:
🔵 Double-check all your info before submitting – you can only submit once
🔵 Only use a valid EVM wallet address (e.g. MetaMask, Trust Wallet)
🔵 Rewards will be sent in USDT (BEP20 / BNB Chain)
🚫 Do NOT submit TON or TRC20 addresses — they will not be accepted
We’re preparing the distribution — and…
More updates are coming later today about the upcoming Closed Beta launch.
Stay tuned, Forgers 👀
#DeckForge#ClosedBeta#MemeContest
Join the DeckForge Community:
🌐YouTube𝕏Twitter🎮Discord
👉Chat👉Announcements👉DeckForge
Meme Contest – Final Results
The community has spoken — and it's time to crown the champions.
After two weeks of chaos, creativity, and incredible humor, we’re excited to reveal the final leaderboard of our Meme Contest.
🔗Leaderboard – TOP-250 Memers
Prizes will be distributed this weekend
Huge thanks to every Forger who participated — your memes, energy, and wit made this one of the most fun events we've ever hosted.
But that’s not all...
Alpha Reveal Incoming
On July 10, our team will showcase the first Alpha build of DeckForge at one of the leading game dev conferences in Eastern Europe.
Over 20,000+ players are already waiting for the Closed Beta – and we’re almost there.
🔥 The Forge is heating up.
Next week, we’ll be dropping major updates, sneak peeks, and what's next for the community.
Stay sharp, Stay Forged.
#DeckForge#ClosedBeta#MemeContest
Join the DeckForge Community:
🌐YouTube𝕏Twitter🎮Discord
👉Chat👉Announcements👉DeckForge
👑New Meme Contest
👑
💰Reward : 100 USDT For Top 10 People🤑
👑Contest Link : Meme Contest
⭐Steps to take Part
⭐ Follow @dict00
⭐ Like RT Quite this tweet+comments @ 3 friends
⭐ Add your #DICT meme to the comments below
⭐ Must join Telegram Channel
⭐ Send proof in Telegram group with retweet link
#MemeContest#100USDT#USDT#giveaway
🔔Note: Please do your own research (DYOR) before joining to any project.Don't send any fee or penny without doing own research
✈️Business:@ProjectPromoters✅
#MEMECONTEST#PHILMEMECONTEST
MEME & STICKER COMPETITION ALERT!👀👀👀
🎉🎉Our BIGGEST PRIZE POOL YET 💯💯
🙌🏼500 WINNERS
💰500,000 $PHL Token prize pot | 1000 $PHL per winner💰
🤩Have your designs used by a GLOBAL COMMUNITY
All you need to do is:
✅Design a meme or sticker for our #PHILApp and #Philcoin social media channels
✅Tag us on social media for a chance to win using #PHILNation
T&Cs apply
Competition ends Friday 11th, Feb. 2022
TELEGRAM GROUP | TELEGRAM CHANNEL | TWITTER | FACEBOOK | LINKEDIN | INSTAGRAM
💎$TMONK #RoadToMEMELANDIA# Contest💎
1️⃣st 100 token $TMONK
2️⃣st 70 token $TMONK
3️⃣st 30 token $TMONK
👀5 more participants will get WL spot in upcoming private sale of our partner ATHENA DexFI
How to enter the #contest :
1️⃣Follow @ https://x.com/TMonkPartners?s=35
2️⃣ Join telegram groups:
✔️https://t.me/RoadToMEMELANDIA
✔️
https://t.me/TmonkAnnouncements
3️⃣ Under the tweet of this contest
present on X https://x.com/TMonkPartners?s=35
Answer with a post with original and funny TMONK memes ( Video, gif or stickers are welcome as well )
You can create as many as you want .
Share your post to atleast 3 real yours friends(we will check if you don’t respect this rule or share to someone that isn t your friend)
Remember to put also
@ton_blockchain and @telegram and to use hashtags #MemeContest#freedom#crowdfunding#charity#tmonk
4️⃣. Submit your X entry under the comments of relatived post of this two groups
🖥https://t.me/RoadToMEMELANDIA
🖥
https://t.me/TmonkAnnouncements
The 8️⃣ winners will be chosen by the team
Valid for 4️⃣ days
Ends 25.04.2024 15 utc UTC
GOOD LUCK TMONKERS