From e1f1868004c286642e8df8d0dc4db29f4ebeeb59 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 5 Feb 2020 12:03:54 -0300 Subject: [PATCH] Updated Makefile for releases --- Makefile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 4ce49b6..c195539 100644 --- a/Makefile +++ b/Makefile @@ -11,13 +11,13 @@ build: .PHONY: clean clean: - rm -f docker-machine-driver-xcp \ - docker-machine-driver-xcp_darwin-386.tar.gz \ - docker-machine-driver-xcp_darwin-amd64.tar.gz \ - docker-machine-driver-xcp_linux-386.tar.gz \ - docker-machine-driver-xcp_linux-amd64.tar.gz \ - docker-machine-driver-xcp_windows-386.zip \ - docker-machine-driver-xcp_windows-amd64.zip + rm -f docker-machine-driver-xenserver \ + docker-machine-driver-xenserver_darwin-386.tar.gz \ + docker-machine-driver-xenserver_darwin-amd64.tar.gz \ + docker-machine-driver-xenserver_linux-386.tar.gz \ + docker-machine-driver-xenserver_linux-amd64.tar.gz \ + docker-machine-driver-xenserver_windows-386.zip \ + docker-machine-driver-xenserver_windows-amd64.zip .PHONY: release release: @@ -25,14 +25,14 @@ release: # Unix for arch in 386 amd64 ; do \ for os in darwin linux ; do \ - GOOS=$$os GOARCH=$$arch go build -o docker-machine-driver-xcp; \ - tar -cvzf docker-machine-driver-xcp_$$os-$$arch.tar.gz docker-machine-driver-xcp; \ - rm -f docker-machine-driver-xcp; \ + GOOS=$$os GOARCH=$$arch go build -o docker-machine-driver-xenserver; \ + tar -cvzf docker-machine-driver-xenserver_$$os-$$arch.tar.gz docker-machine-driver-xenserver; \ + rm -f docker-machine-driver-xenserver; \ done \ done # Windows for arch in 386 amd64 ; do \ - GOOS=windows GOARCH=$$arch go build -o docker-machine-driver-xcp.exe; \ - zip docker-machine-driver-xcp_windows-$$arch.zip docker-machine-driver-xcp.exe; \ - rm -f docker-machine-driver-xcp; \ + GOOS=windows GOARCH=$$arch go build -o docker-machine-driver-xenserver.exe; \ + zip docker-machine-driver-xenserver_windows-$$arch.zip docker-machine-driver-xenserver.exe; \ + rm -f docker-machine-driver-xenserver; \ done