1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-15 19:15:24 +00:00
amfora/display/license.sh

12 lines
205 B
Bash
Raw Normal View History

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