diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6fef3e6 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,13 @@ | |||
1 | .PHONY: dev build clean | ||
2 | |||
3 | all: dev | ||
4 | |||
5 | dev: build | ||
6 | ./gopherproxy -bind 127.0.0.1:8000 | ||
7 | |||
8 | build: clean | ||
9 | go get ./... | ||
10 | go build -o ./gopherproxy ./cmd/gopherproxy/main.go | ||
11 | |||
12 | clean: | ||
13 | rm -rf gopherproxy | ||