From 4a378141f54ec9a0364129f88b177a1bc7146e1b Mon Sep 17 00:00:00 2001 From: Suyash Kumar Date: Mon, 13 Aug 2018 00:10:06 -0400 Subject: [PATCH] Cleanup Makefile, add .gitignore --- .gitignore | 3 +++ Makefile | 12 +----------- 2 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e6272e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +build +.idea +ssl-proxy diff --git a/Makefile b/Makefile index 447cbfb..0fc5acf 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,6 @@ BINARY = ssl-proxy build: go build -o ${BINARY} -.PHONY: fast -fast: - go build -o ${BINARY} - .PHONY: test test: go test ./... @@ -17,14 +13,8 @@ run: make build ./${BINARY} -.PHONY: run-fast -run-fast: - go build -o ${BINARY} - ./${BINARY} - .PHONY: release -release: - dep ensure +release: GOOS=linux GOARCH=amd64 go build -o build/${BINARY}-linux-amd64 .; GOOS=darwin GOARCH=amd64 go build -o build/${BINARY}-darwin-amd64 .; GOOS=windows GOARCH=amd64 go build -o build/${BINARY}-windows-amd64.exe .;