MeshChatX/Makefile

67 lines
1.2 KiB
Makefile
Raw Permalink Normal View History

# Compatibility shim — Taskfile.yml owns install, lint, test, and build targets.
2026-07-13 14:10:38 -05:00
# Tree RSM targets call shell scripts directly so Make works without Task.
TASK ?= task
.DEFAULT_GOAL := help
.PHONY: install install-offline run dev dev-fe build format lint test test-be-perf clean help dist-linux dist-linux-x64
2026-07-13 14:10:38 -05:00
.PHONY: tree-manifest tree-rsm-sign tree-rsm-verify hooks-install
2026-03-09 12:08:34 -05:00
install:
@$(TASK) install
install-offline:
@$(TASK) install:offline
2026-03-09 12:08:34 -05:00
run:
@$(TASK) run
2026-03-09 12:08:34 -05:00
dev:
@$(TASK) dev
dev-fe:
@$(TASK) dev-fe
2026-03-09 12:08:34 -05:00
build:
@$(TASK) build
format:
@$(TASK) format
2026-03-09 12:08:34 -05:00
lint:
@$(TASK) lint
2026-03-09 12:08:34 -05:00
test:
@$(TASK) test
test-be-perf:
@$(TASK) test:be:perf
2026-03-09 12:08:34 -05:00
clean:
@$(TASK) clean
dist-linux:
@$(TASK) dist:linux
dist-linux-x64:
@$(TASK) dist:linux-x64
2026-07-13 14:10:38 -05:00
tree-manifest:
sh scripts/ci/tree-manifest.sh generate
tree-rsm-verify:
sh scripts/ci/verify-tree-rsm.sh
tree-rsm-sign:
sh scripts/ci/sign-tree-rsm.sh
hooks-install:
sh scripts/ci/install-git-hooks.sh
help:
2026-07-13 14:10:38 -05:00
@echo "Makefile targets (most delegate to Task, see: task --list)."
@echo " make tree-rsm-verify Verify meshchatx.rsm (no Task required)"
@echo " make tree-rsm-sign Sign tree inventory (requires RNS_ID_PATH)"
@echo " make hooks-install Enable .githooks pre-commit"
@$(TASK) --list