mirror of https://github.com/cheat/cheat.git
fix(Makefile): build targets
Adds missing dependencies to the `build` and `install` targets.
This commit is contained in:
parent
6e388c3693
commit
8453af8601
4
Makefile
4
Makefile
|
@ -34,7 +34,7 @@ releases := \
|
||||||
|
|
||||||
## build: builds an executable for your architecture
|
## build: builds an executable for your architecture
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(dist_dir) clean generate
|
build: $(dist_dir) clean vendor 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
|
||||||
|
@ -85,7 +85,7 @@ generate:
|
||||||
|
|
||||||
## install: builds and installs cheat on your PATH
|
## install: builds and installs cheat on your PATH
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install: build
|
||||||
$(GO) install $(BUILD_FLAGS) $(GOBIN) $(cmd_dir)
|
$(GO) install $(BUILD_FLAGS) $(GOBIN) $(cmd_dir)
|
||||||
|
|
||||||
## clean: removes compiled executables
|
## clean: removes compiled executables
|
||||||
|
|
Loading…
Reference in New Issue