From 7febc4faa5b4f293e4ff0bdf93dab9e09b868161 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 20 Nov 2019 10:27:30 +0300 Subject: [PATCH] Useless mv --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 46ddcf0..fd65c25 100644 --- a/Makefile +++ b/Makefile @@ -49,9 +49,10 @@ all: $(ALL) $(ALL): mkdir -p $(BIN) - cd $(SRC) ; GOPATH=$(GOPATH) $(GO) build -ldflags "$(LDFLAGS)" \ + cd $(SRC) ; GOPATH=$(GOPATH) $(GO) build \ + -o $(BIN)/$$(basename $@) \ + -ldflags "$(LDFLAGS)" \ $(MOD)/cmd/$$(basename $@) - mv $(SRC)/$$(basename $@) $(BIN) test: cd $(SRC) ; GOPATH=$(GOPATH) $(GO) test -failfast $(MOD)/... -- 2.44.0