slog/Makefile

23 lines
355 B
Makefile
Raw Normal View History

2020-12-02 02:00:26 +00:00
.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
2021-04-27 23:38:25 +00:00
README.md: ./add-docs-to-readme.sh *.go go.mod
2020-12-02 02:00:26 +00:00
./add-docs-to-readme.sh