fix: Makefile

Resolves an error whereby `make build` would fail to call `go generate`
prior to calling `go build`.
This commit is contained in:
Chris Lane 2020-01-29 13:59:31 -05:00
parent 3fc4c2f89e
commit 9f05442bce

View File

@ -33,7 +33,7 @@ releases := \
## build: builds an executable for your architecture
.PHONY: build
build: $(dist_dir)
build: $(dist_dir) clean generate
$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
## build-release: builds release executables