.PHONY: bootstrap setup test lint fmt fmt-check tidy check docker hooks build \ run example-app # Makefile targets are thin shims; the implementations live in script/ # per the scripts-to-rule-them-all pattern (see the Entrypoints section # of README.md). tidy writes go.mod and go.sum as `go mod tidy` does, # which test checks. build and run are for working on the code by hand; # example-app checks the image with an app built on it. bootstrap: @script/bootstrap setup: @script/setup test: @script/test lint: @script/lint fmt: @script/fmt fmt-check: @script/fmt-check tidy: @script/tidy check: @script/check docker: @script/docker hooks: @script/install-precommit build: @script/build run: @script/run example-app: @script/example-app