summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-15 15:54:14 +0300
committerWolfy-J <[email protected]>2018-06-15 15:54:14 +0300
commitdfef39c64132192d13e2315364a74f1b0244791e (patch)
treeb0959bbbb1ca5a16d94646454d7f2e9340081915 /Makefile
parentccd297dbe2586b3fd29854f72f795be9e818522e (diff)
readme, samples, golint, build scripts
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9726ed69..0ee41909 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,16 @@
+all:
+ @./build.sh
+build:
+ @./build.sh all
+clean:
+ rm -rf rr
+install: all
+ cp rr /usr/local/bin/rr
+uninstall:
+ rm -f /usr/local/bin/rr
test:
go test -v -race -cover
go test -v -race -cover ./service
go test -v -race -cover ./service/rpc
go test -v -race -cover ./service/http
- go test -v -race -cover ./service/static \ No newline at end of file
+ go test -v -race -cover ./service/static