mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 04:35:06 +01:00
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
|
||||
.PHONY: build
|
||||
build: $(dist_dir) clean generate
|
||||
build: $(dist_dir) clean vendor generate
|
||||
$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
|
||||
|
||||
## build-release: builds release executables
|
||||
@ -85,7 +85,7 @@ generate:
|
||||
|
||||
## install: builds and installs cheat on your PATH
|
||||
.PHONY: install
|
||||
install:
|
||||
install: build
|
||||
$(GO) install $(BUILD_FLAGS) $(GOBIN) $(cmd_dir)
|
||||
|
||||
## clean: removes compiled executables
|
||||
|
Loading…
Reference in New Issue
Block a user