Мы используем 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
Why it's profitable to replenish the BulCoin pool NOW
The BulCoin liquidity pool is currently small — and this is the best time to join.
🔥 Why?
• Few LPs → fees are divided among fewer people.
• Every USDT ⇄ BLC exchange gives a large percentage of the commission, because liquidity is low.
• Tasks are already underway in the ecosystem, transfers, trading — these are constant swaps that bring income to LPs.
🚀 Early LPs are always in the plus
When MAU increases (according to the model — up to 10k–100k users), the pool will become larger, and APR will drop.
Those who entered earlier will lock in maximum percentages.
🌊 How to replenish?
DeDust → USDT–BLC pool → deposit USDT and BLC → receive LP tokens.
#pool#liquidity
FAQ | BUY
Our recommendation
How to earn on pool-liquidity if you only have BulCoin?
1. Go to App.Tonco.io in the pools section and enter BLC in the search.
2. Click on Create position
3. Enter the minimum price above the market, and the maximum no less than $0.11. This will be the minimum price at the start of privatization in Chuvashia for BulCoin
4. Enter the amount and create
5. Now investors will buy BLC from you, and you will get the maximum profit from trading!
#pool#tonco#liquidity#BLC
FAQ | BUY
During the stream with the network state VERV, a pool-liquidity was announced between VRV and BLC
You can trade this pair on DeDust
What other pairs are available for BulCoin?
BLC/USDT
BLC/TON
BLC/44AD
#VERV#BulCoin#BLC#VRV#Pool
FAQ | BUY
🎉Catizen x Zircuit Launchpool is Live
We're excited to announced launch Zircuit (ZRC) as the inaugural project on the Catizen Launchpool!🎆🪙
How to Earn ZRC?
💰 Stake CATI and Cats to Earn ZRC: Zircuit is an AI-secured, Zero-Knowledge Layer 2 solution, fully #EVM-compatible, and supported by #BinanceLabs, #Pantera, #DragonflyCapital, among others. With $1.8B in TVL and a new liquidity hub, early adopters are in for a rewarding journey!
Launchpool Details:
• Period: 2024-10-28 00:00 (UTC) to 2024-11-04 00:00 (UTC)
• Token Name: $ZRC
• Total Supply: 10,000,000,000 ZRC
• Token Rewards: ≈$1,500,000 in ZRC
• Launchpool Allocation: 8,333,333 ZRC
Pool Information
🪙CATI Pool:
• Reward Proportion: 85%
• Reward Amount: $1,275,000 in ZRC
• Stake Range: 1 to 2000 CATI
• Settlement: Every hour based on staked CATI share
😺Cat Pool:
• Reward Proportion: 15%
• Reward Amount: $225,000 in ZRC
• Eligibility: Cats above level 300 only
• Settlement: Hourly, with levels converted to USD for calculations
🐾Don’t miss out on this incredible chance to grow your rewards with Zircuit! This is just the beginning of their ambitious plan to enhance CATI token value✨
#TON#CATI#Pool#Zircuit