aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2017-01-12 00:56:57 -0800
committerJames Mills <prologic@shortcircuit.net.au>2017-01-12 00:56:57 -0800
commit41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de (patch)
tree196d59954edf6e7099c2d3b9b4cffee384bfc9a0
parentMigrated to a Library structure with gopherproxy cmd for reuse by gopherclient (diff)
downloadgopherproxy-41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de.tar.gz
gopherproxy-41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de.tar.bz2
gopherproxy-41d9f71b36b44ce6f2b3ab97f54cc5fc996d01de.zip
Added a Makefile for convenience
-rw-r--r--Makefile13
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
3all: dev
4
5dev: build
6 ./gopherproxy -bind 127.0.0.1:8000
7
8build: clean
9 go get ./...
10 go build -o ./gopherproxy ./cmd/gopherproxy/main.go
11
12clean:
13 rm -rf gopherproxy