Added a Makefile for convenience

This commit is contained in:
James Mills 2017-01-12 00:56:57 -08:00
parent c51b6d8887
commit 41d9f71b36
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
1 changed files with 13 additions and 0 deletions

13
Makefile Normal file
View File

@ -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