11 lines
303 B
Makefile
11 lines
303 B
Makefile
.PHONY: install
|
|
install:
|
|
# install required tools
|
|
cd ./internal/tools && go install \
|
|
github.com/golangci/golangci-lint/cmd/golangci-lint \
|
|
github.com/maxbrunsfeld/counterfeiter/v6
|
|
# install git hooks
|
|
pre-commit install --hook-type pre-commit
|
|
pre-commit install --hook-type commit-msg
|
|
|