1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05: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