github.com/ladydascalie/elvish@v0.0.0-20170703214355-2964dd3ece7f/web/embed-html (about) 1 #!/usr/bin/env elvish 2 3 out = ./embedded-html.go 4 5 { 6 echo "package web" 7 print "const mainPageHTML = `" 8 cat main.html | sed 's/`/`+"`"+`/g' 9 echo "`" 10 } > $out 11 12 gofmt -w $out