From fdb228f937a69123e0fadd64619c41eea6d4d4b3 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 7 Mar 2016 13:16:12 -0800 Subject: [PATCH] add AUTHORS.md --- AUTHORS.md | 12 ++++++++++++ tools/authors.sh | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 AUTHORS.md create mode 100755 tools/authors.sh diff --git a/AUTHORS.md b/AUTHORS.md new file mode 100644 index 00000000..af243aa5 --- /dev/null +++ b/AUTHORS.md @@ -0,0 +1,12 @@ +# Authors + +#### Ordered by first contribution. + +- Feross Aboukhadijeh +- DC +- Nate Goldman +- Chris Morris +- Giuseppe Crinò + +#### Generated by tools/authors.sh. + diff --git a/tools/authors.sh b/tools/authors.sh new file mode 100755 index 00000000..b76427e4 --- /dev/null +++ b/tools/authors.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Update AUTHORS.md based on git history. + +git log --reverse --format='%aN <%aE>' | perl -we ' +BEGIN { + %seen = (), @authors = (); +} +while (<>) { + next if $seen{$_}; + next if //; + $seen{$_} = push @authors, "- ", $_; +} +END { + print "# Authors\n\n"; + print "#### Ordered by first contribution.\n\n"; + print @authors, "\n"; + print "#### Generated by tools/authors.sh.\n\n"; +} +' > AUTHORS.md