From 41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de Mon Sep 17 00:00:00 2001 From: James Mills Date: Thu, 12 Jan 2017 00:56:57 -0800 Subject: Added a Makefile for convenience --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6fef3e6 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +.PHONY: dev build clean + +all: dev + +dev: build + ./gopherproxy -bind 127.0.0.1:8000 + +build: clean + go get ./... + go build -o ./gopherproxy ./cmd/gopherproxy/main.go + +clean: + rm -rf gopherproxy -- cgit v1.2.3-70-g09d2