Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gendoc.sh « goi18n - github.com/gohugoio/go-i18n.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 84ee7ccc68aa0faaae864a7a3447f72e7db6ef60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
go install
echo "// The goi18n command formats and merges translation files." > doc.go
echo "//" >> doc.go
echo "//     go get -u github.com/nicksnyder/test/goi18n" >> doc.go
echo "//     goi18n -help" >> doc.go
echo "//" >> doc.go
echo "// Help documentation:" >> doc.go
echo "//" >> doc.go
goi18n | sed -e 's/^/\/\/     /' >> doc.go
goi18n merge -help | sed -e 's/^/\/\/     /' >> doc.go
goi18n constants -help | sed -e 's/^/\/\/     /' >> doc.go
echo "package main" >> doc.go