Skip to content

Commit 6eae61f

Browse files
committed
do not require prek
1 parent 7e061e7 commit 6eae61f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ help: ## Show this help message
2020
.PHONY: install
2121
install: ## Install dependencies and git hooks
2222
bun install
23-
prek install
23+
@if command -v prek >/dev/null 2>&1; then \
24+
prek install; \
25+
else \
26+
echo "prek not found — skipping git hook setup (optional, see README)"; \
27+
fi
2428

2529
## Development
2630

0 commit comments

Comments
 (0)