Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2018-04-25 04:03:43 +0300
committerFeross Aboukhadijeh <feross@feross.org>2018-04-25 04:03:43 +0300
commit352c52792002dc2efd9e2e6b72982ef3297b68fd (patch)
tree75d3760b0db5d522618ca10a3d969e17b3a8cb4e /scripts
parent4022debc25b88a4f4e92d5f37ae5803fe3aa097e (diff)
Move internal scripts from bin/ to scripts/
By convention the bin/ folder is for user-facing command line scripts. Let's use scripts/ for internal scripts that don't need to be published.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-authors.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/update-authors.sh b/scripts/update-authors.sh
new file mode 100755
index 0000000..07c04f5
--- /dev/null
+++ b/scripts/update-authors.sh
@@ -0,0 +1,23 @@
+#!/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)/;
+ next if /(badger\@gitter.im)/;
+ next if /(y.ciabaud\@free.fr)/;
+ next if /(DiegoRBaquero\@users.noreply.github.com)/;
+ next if /(grunjol\@users.noreply.github.com)/;
+ $seen{$_} = push @authors, "- ", $_;
+}
+END {
+ print "# Authors\n\n";
+ print "#### Ordered by first contribution.\n\n";
+ print @authors, "\n";
+ print "#### Generated by scripts/update-authors.sh.\n";
+}
+' > AUTHORS.md