amfora/display/thanks.sh

13 lines
210 B
Bash
Raw Normal View History

#!/usr/bin/env sh
cat > thanks.go <<-EOF
//nolint
package display
//go:generate ./thanks.sh
EOF
echo -n 'var thanks = []byte(`' >> thanks.go
cat ../THANKS.md | tr '`' "'" >> thanks.go
echo '`)' >> thanks.go