From f3c825f550c5e15186a0147bb8705054ac26df1f Mon Sep 17 00:00:00 2001 From: Katrina Verey Date: Tue, 5 Apr 2022 14:40:33 -0400 Subject: [PATCH] Make sure build targets all install into Go bin --- Makefile-modules.mk | 2 +- cmd/pluginator/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile-modules.mk b/Makefile-modules.mk index 894f5eee0..7c2301f10 100644 --- a/Makefile-modules.mk +++ b/Makefile-modules.mk @@ -35,4 +35,4 @@ vet: go vet ./... build: - go build -v ./... + go build -v -o $(MYGOBIN) ./... diff --git a/cmd/pluginator/Makefile b/cmd/pluginator/Makefile index 2d0858a7e..ac0a8784d 100644 --- a/cmd/pluginator/Makefile +++ b/cmd/pluginator/Makefile @@ -17,7 +17,7 @@ generate: $(MYGOBIN)/statik ) build: generate - go build -o pluginator main.go + go build -o $(MYGOBIN) main.go install: generate go install .