Мы используем 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
🚀 Jamie Dimon Warns of Rising U.S. Debt Risks and Global Deficits
Jamie Dimon has expressed concerns over the increasing risks associated with U.S. debt. According to NS3.AI, Dimon referenced a Congressional Budget Office forecast predicting that the debt-to-GDP ratio will escalate from the current 100% to 120% by 2036. He highlighted that global deficits are currently at 5%, despite the relatively healthy state of the global economy. Dimon also cautioned that a future downturn in the credit cycle could lead to higher-than-anticipated losses in leveraged lending.
#USDebt#GlobalDeficits#DebtToGDP#CreditRisk#LeveragedLending#EconomicForecast
🚀 Global Currency Order Restructuring May Lead to Long-Term Dollar Depreciation
According to Jin10, a report by China International Capital Corporation (CICC) suggests that after the short-term factors boosting the dollar fade, the narrative of global currency order restructuring and the weakening of dollar hegemony may once again dominate market direction. The United States' continuous accumulation of net external debt increases its need for dollar depreciation. The uncertainty surrounding U.S. President Donald Trump's policies and the unresolved risks of dollar 'weaponization' also dampen market demand for U.S. assets. The new Federal Reserve Chair, Walsh, advocates for a 'balance sheet reduction' policy, which could objectively help restore the dollar's credibility if implemented. However, Walsh's policy is constrained by the resilience of the real economy and financial markets, as well as political limitations. Additionally, Trump's foreign, trade, and economic policies continue to negatively impact the dollar's credibility. Considering the overall impact of Walsh and Trump's policies, it is difficult to conclude that the dollar's credibility will improve in the future. We anticipate that the global currency order may continue to restructure, driving the dollar to maintain a long-term depreciation trend.
#GlobalCurrencyOrder#DollarDepreciation#USDebt#DollarHegemony#FederalReserve#MonetaryPolicy#TrumpPolicies#CICCReport#FinancialMarkets#CurrencyRestructuring
🚀 U.S. Public Debt Increases by $571.28 Billion, Reaching $38.969 Trillion
The United States public debt has increased by approximately $571.28 billion this year, reaching a total of $38.969 trillion as of April 7, 2026. According to NS3.AI, this figure encompasses both debt held by the public and intragovernmental holdings. In an interview with NPR, JPMorgan Chase CEO Jamie Dimon expressed concerns that the growing debt burden could pose challenges, potentially leading to higher market rates and reduced demand for U.S. Treasurys.
#USDebt#PublicDebt#USFinance#GovernmentDebt#EconomicNews#USMarkets#Treasury#DebtCrisis#JPMorgan#Macroeconomics
#The_Barron's 🇺🇸📕[PDF]⬇️
13 #October2025
#Weekly_Magazines
For learning, for free(dom).
@backupofmagazines
In this issue, Oracle founder #LarryEllison takes center stage, betting big on #AIInvestment in what may be his boldest move yet. The issue unpacks market jitters over a tech-driven bull run, rising #Gold and #USDebt, and the resilience of #ESG investing. Insights span #Ferrari’s EV gamble, #ImmigrationEconomics, and potential Fed leadership shifts. For savvy investors, Barron’s explores where the smart money is heading—plus, a special “Guide to Wealth” offers survival strategies for volatility. #Oracle#StockMarket#EllisonUnbound#TechBubble#Barrons#RetirementPlanning