Browse Source

Add contributors target

Kevin Burke 11 years ago
parent
commit
aa6ee81921
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -1,4 +1,4 @@
-.PHONY: default server client deps fmt clean all release-client release-server release-all client-assets server-assets
+.PHONY: default server client deps fmt clean all release-client release-server release-all client-assets server-assets contributors
 export GOPATH:=$(shell pwd)
 export GOPATH:=$(shell pwd)
 
 
 default: all
 default: all
@@ -37,3 +37,7 @@ all: fmt client server
 
 
 clean:
 clean:
 	go clean -i -r ngrok/...
 	go clean -i -r ngrok/...
+
+contributors:
+	echo "Contributors to ngrok, both large and small:\n" > CONTRIBUTORS
+	git log --raw | grep "^Author: " | sort | uniq | cut -d ' ' -f2- | sed 's/^/- /' >> CONTRIBUTORS