Мы используем 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
😁A Constraints Led Approach to Guard Passing by Standard Jiu Jitsu😁
➡️A series of games to get coaches and students started developing guard passing skills and designing practices using the constraints led approach.
̶$̶5̶0̶😍$4.99😍
❗️Channel Info and FAQ (MUST CHECK BEFORE BUY)❗️
📱Payment: 📱📱📱
💰Submeta FOR FREE
🌈UFC Picks
👑MasterClass
✈️@bjjfanaticsinstructionals
#StandardJiuJitsu#Passing#Drills#NoGi
💁♀️Buy
💁♀️
😁Leg Locks for Beginners by Standard Jiu Jitsu😁
➡️A collection of games that can be used to start developing leg entanglements and heel hook finishes using the constraints led approach.
̶$̶9̶9̶😍$9.99😍
❗️Channel Info and FAQ (MUST CHECK BEFORE BUY)❗️
📱Payment: 📱📱📱
💰Submeta FOR FREE
🌈UFC Picks
👑MasterClass
✈️@bjjfanaticsinstructionals
#StandardJiuJitsu#Leglocks#Drills#NoGi
💁♀️Buy
💁♀️
😁Standing Grappling Games by Standard Jiu Jitsu😁
➡️A series of games to get you started training the standing grappling scenario using the constraints led approach.
$50😍$4.99😍
❗️Channel Info and FAQ (MUST CHECK BEFORE BUY)❗️
📱Payment: 📱📱📱
💰Submeta FOR FREE
🌈UFC Picks
👑MasterClass
✈️@bjjfanaticsinstructionals
#StandardJiuJitsu#Takedowns#Drills#NoGi
💁♀️Buy
💁♀️
😁Rides & Escapes Course by Jordan Preisinger and Joe Breza😁
➡️Use wrestling rides to control, submit, and break free in Jiu-Jitsu!
➡️Wrestling rides are the key to the next level of your BJJ ground game but not a lot of people use them so once you do, you'll have an edge over your teammates who only use Jiu-Jitsu. You'll keep them on the ground, stay on top & submit them...
Much more easily.
̶$̶149😍$14.99😍
❗️Channel Info and FAQ (MUST CHECK BEFORE BUY)❗️
📱Payment: 📱📱📱
💰Submeta FOR FREE
🌈UFC Picks
👑MasterClass
✈️@bjjfanaticsinstructionals
#JordanTeachesJiuJitsu#Wrestling#Drills#NoGi
💁♀️Buy
💁♀️
📰 China’s Record Drills: Taiwan Encircled, World on Edge
China just launched its largest war games around Taiwan to date, sending a clear message: Beijing can cut off the island from the outside world if conflict erupts. The drills, dubbed “Justice Mission 2025,” involved troops, warships, fighter jets, and artillery, with live fire and simulated strikes designed to test Taipei’s defenses and U.S.-made weapons.
“Conducting live-fire exercises around the Taiwan Strait ... would not only constitute military pressure on us, but could also pose more complex challenges and impacts for the international community and neighbouring countries.”
— Hsieh Jih-sheng, Taiwan’s deputy chief of defence
The drills covered a record seven zones, some closer to Taiwan than ever before, and forced the cancellation of hundreds of flights. China’s military released propaganda videos showing futuristic tech—automated robots, microdrones, and weaponised robotic dogs—while Taiwan’s defence ministry responded with its own footage of U.S.-made HIMARS rocket systems.
Analysts say these exercises blur the line between training and actual preparation for invasion, aiming to give the U.S. and allies minimal warning. China’s state media insists the drills are a response to increased U.S.-Taiwan military cooperation, while Taiwan’s government remains on high alert, coordinating rapid-response exercises and deploying ships to face off with Chinese vessels.
So, is this just another show of force—or the opening act of something far more dangerous?
#China#Taiwan#warGames#drills#military#Asia
📱American Оbserver - Stay up to date on all important events
🇺🇸