From 8453af860166863068a6cf9570ad0fbc270e4603 Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Wed, 26 Feb 2020 19:21:07 -0500 Subject: [PATCH] fix(Makefile): build targets Adds missing dependencies to the `build` and `install` targets. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 98bc242..802677b 100644 --- a/Makefile +++ b/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