mirror of https://github.com/cheat/cheat.git
fix: Makefile
Resolves an error whereby `make build` would fail to call `go generate` prior to calling `go build`.
This commit is contained in:
parent
3fc4c2f89e
commit
9f05442bce
2
Makefile
2
Makefile
|
@ -33,7 +33,7 @@ releases := \
|
||||||
|
|
||||||
## build: builds an executable for your architecture
|
## build: builds an executable for your architecture
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(dist_dir)
|
build: $(dist_dir) clean generate
|
||||||
$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
|
$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
|
||||||
|
|
||||||
## build-release: builds release executables
|
## build-release: builds release executables
|
||||||
|
|
Loading…
Reference in New Issue