Fix options help in README.md in-place

This commit is contained in:
Søren L. Hansen 2021-04-25 08:28:08 -07:00
parent faeb610961
commit b8e97d7a3c
4 changed files with 11 additions and 247 deletions

View file

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