15 lines
293 B
Makefile
15 lines
293 B
Makefile
.PHONY: install lint typecheck check
|
|
|
|
install:
|
|
git config core.hooksPath .githooks
|
|
chmod +x .githooks/pre-commit .githooks/pre-push
|
|
@echo "Git hooks activated. typecheck + lint will run on every commit and push."
|
|
|
|
lint:
|
|
pnpm run lint
|
|
|
|
typecheck:
|
|
pnpm run typecheck
|
|
|
|
check: typecheck lint
|