diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2017-01-12 00:56:57 -0800 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2017-01-12 00:56:57 -0800 |
| commit | 41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de (patch) | |
| tree | 196d59954edf6e7099c2d3b9b4cffee384bfc9a0 /Makefile | |
| parent | Migrated to a Library structure with gopherproxy cmd for reuse by gopherclient (diff) | |
| download | gopherproxy-41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de.tar.gz gopherproxy-41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de.tar.bz2 gopherproxy-41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de.zip | |
Added a Makefile for convenience
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 | ||
