summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nicksnyder/go-i18n/goi18n/gendoc.sh
blob: 094f479a5af0b743989d28a3e09a7306071b5e60 (plain)
1
2
3
4
5
6
7
8
9
10
go install
echo "// The goi18n command formats and merges translation files." > doc.go
echo "//" >> doc.go
echo "//     go get -u github.com/nicksnyder/go-i18n/goi18n" >> doc.go
echo "//     goi18n -help" >> doc.go
echo "//" >> doc.go
echo "// Help documentation:" >> doc.go
echo "//" >> doc.go
goi18n -help | sed -e 's/^/\/\/     /' >> doc.go
echo "package main" >> doc.go