Makefile: use go get to pull the dependencies

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:
Pierre-Alain TORET 2018-06-08 10:22:41 +02:00
parent 5b28e80924
commit e88d027239

View File

@ -23,9 +23,11 @@ clean:
# later down the line). # later down the line).
devel-go: devel-go:
go get .
go build -i -v -o $(GO_DEVEL_BUILD_BINARY) go build -i -v -o $(GO_DEVEL_BUILD_BINARY)
prod-go: prod-go:
go get .
go build -i -v -o $(GO_PROD_BUILD_BINARY) go build -i -v -o $(GO_PROD_BUILD_BINARY)
$(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR)) $(shell mkdir -p $(GO_DEVEL_BUILD_DIR) $(GO_PROD_BUILD_DIR))