-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (21 loc) · 950 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (21 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Agents: run only make targets listed here. No direct shell commands.
# `make apply` mutates this machine (installs software, writes symlinks) — do not
# run it without human sign-off. See AGENTS.md > Agent Authorization.
.DEFAULT_GOAL := help
.PHONY: help
help: ## Show available commands
@echo "Usage: make <target>"
@echo ""
@echo "Agents: run only the targets listed here — no direct shell commands."
@echo " 'make apply' changes this machine; get human sign-off first."
@echo ""
@echo "Available targets:"
@awk 'BEGIN {FS=":.*## "}; /^[a-zA-Z0-9_-]+:.*## / { printf " \033[36m%-10s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
.PHONY: lint
lint: ## Lint shell scripts with shellcheck
shellcheck apply.sh claude/statusline.sh
.PHONY: check
check: lint ## Run all validation (currently: lint)
.PHONY: apply
apply: ## Converge this machine to the declared state (mutates the machine — human sign-off required)
./apply.sh