Skip to content

Commit

Permalink
Cleanup Makefile, add .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashkumar committed Aug 13, 2018
1 parent 56edc6b commit 4a37814
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build
.idea
ssl-proxy
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ BINARY = ssl-proxy
build:
go build -o ${BINARY}

.PHONY: fast
fast:
go build -o ${BINARY}

.PHONY: test
test:
go test ./...
Expand All @@ -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 .;
Expand Down

0 comments on commit 4a37814

Please sign in to comment.