From ddbaf605ea1bd84eaa56413a67b6f46e078a39a4 Mon Sep 17 00:00:00 2001 From: Hendrik van Wyk Date: Sat, 19 Jan 2019 14:47:46 +0200 Subject: [PATCH] Us go build instead of go install. Go install places the binaries wherever the GOPATH is set which could be some non related directory. Rather use go build and place the binaries in this directory. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index cdb0f25..0b9e561 100644 --- a/Makefile +++ b/Makefile @@ -28,11 +28,11 @@ .PHONY: test install gofmt -install: - go install ./cmd/invertergui/ - go install ./cmd/invertercli/ +build: + go build ./cmd/invertergui/ + go build ./cmd/invertercli/ -all: install gofmt test +all: build gofmt test gofmt: gofmt -l -s -w .