Files
freeCodeCamp/public/js/lib/codemirror/bin/authors.sh
2015-01-10 15:21:03 -05:00

7 lines
291 B
Bash
Executable File

# Combine existing list of authors with everyone known in git, sort, add header.
tail --lines=+3 AUTHORS > AUTHORS.tmp
git log --format='%aN' >> AUTHORS.tmp
echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS
sort -u AUTHORS.tmp >> AUTHORS
rm -f AUTHORS.tmp