From aa8395c99643a8dd79e113fc3d12cffb979aace3 Mon Sep 17 00:00:00 2001 From: Martin Zeman Date: Wed, 17 Jun 2026 01:47:40 +0200 Subject: [PATCH] fix: wire jj push gate on make install, standardize Makefile --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 286d630..b7590a0 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,26 @@ -# forge-dev - FORGE ?= forge -.PHONY: help install validate clean +.PHONY: help install validate release clean help: - @echo " make install deploy and activate git hooks" - @echo " make validate validate module structure and code" + @echo " make install deploy content and install the git hooks" + @echo " make validate run all checks (commit + pre-push stages)" + @echo " make release build release tarball" @echo " make clean remove build artifacts" install: @command -v $(FORGE) >/dev/null 2>&1 \ || { echo "forge not found — ask an AI assistant to execute INSTALL.md"; exit 1; } git config core.hooksPath .githooks + chmod +x .githooks/* 2>/dev/null || true $(FORGE) install --target ~ validate: @bash .githooks/pre-commit + @bash .githooks/pre-push + +release: + $(FORGE) release clean: rm -rf build/