1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00
amfora/display/license.sh
Peter Steinberg a378eaf37a
Add more about: pages (#187)
Co-authored-by: makeworld
2021-02-12 21:26:07 -05:00

12 lines
205 B
Bash
Executable File

#!/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