Skip to content

Commit 6a8f266

Browse files
committed
install rule in makefile
1 parent c62e209 commit 6a8f266

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ clean:
6262
rm -rf ./bin
6363
go clean
6464

65+
# Install binary locally
66+
install:
67+
cp $(CURDIR)/bin/statsd-http-proxy /usr/local/bin
68+
6569
# run statsd proxy in http mode
6670
run-http:
6771
GOMAXPROCS=1 go run main.go --verbose --http-host=127.0.0.1 --http-port=8080 --statsd-host=127.0.0.1 --statsd-port=8125 --jwt-secret=somesecret --metric-prefix=prefix.subprefix

0 commit comments

Comments
 (0)