Files
webtorrent-desktop/tools/authors.sh
Feross Aboukhadijeh fdb228f937 add AUTHORS.md
2016-03-07 13:16:12 -08:00

20 lines
432 B
Bash
Executable File

#!/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 /<support\@greenkeeper.io>/;
$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