Automate options documentation

This commit is contained in:
Soren L. Hansen 2021-04-19 03:20:01 -07:00
parent 1edcacf955
commit f01cf519dc
4 changed files with 46 additions and 56 deletions

View file

@ -65,10 +65,13 @@ js/node_modules/webpack:
npm install
README.md: README.md.in
(cat $< ; git log --pretty=format:' * %aN' | \
git log --pretty=format:' * %aN' | \
grep -v 'S.*ren L. Hansen' | \
grep -v 'Iwasaki Yudai' | \
sort -u ) > $@
sort -u > contributors.txt.tmp
./gotty --help | sed '1,/GLOBAL OPTIONS/ d' > options.txt.tmp
sed -f README.md.sed < $< > $@
rm contributors.txt.tmp options.txt.tmp
tools:
go get github.com/tools/godep