You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slog/Makefile

23 lines
348 B

.PHONY: all clean
all: test README.md
.PHONY: default
default: test
.PHONY: test
test: check
# Installs pre-commit hooks
.PHONY: install-hooks
install-hooks:
pre-commit install --install-hooks
# Runs pre-commit checks on files
.PHONY: check
check:
pre-commit run --all-files
README.md: ./add-docs-to-readme.sh *.go
./add-docs-to-readme.sh