Files
mapmap/scripts/update-contributors.sh
2016-12-28 13:52:41 -05:00

26 lines
650 B
Bash
Executable File

#!/bin/sh
# update CONTRIBUTORS.md based on git history.
# git log --reverse --format='%aN (%aE)' | perl -we '
# BEGIN {
# %seen = (), @authors = ();
# }
# while (<>) {
# next if $seen{$_};
# $seen{$_} = push @authors, "- ", $_;
#
# }
# END {
# print "## Contributors\n\n";
# print "#### Ordered by first contribution.\n\n";
# print @authors, "\n";
# print "#### Generated by scripts/update-contributors.sh.\n";
# }
# ' > ../docs/informations/CONTRIBUTORS.md
echo "Please update docs/informations/CONTRIBUTORS.md by hand"
# Convert markdown file to html
markdown docs/informations/CONTRIBUTORS.md > docs/informations/CONTRIBUTORS.html