Codebase list certgraph / 8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstream web / generate.sh
8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstream

Tree @8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstream (Download .tar.gz)

generate.sh @8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstreamraw · history · blame

#!/bin/sh
set -e
HTMLFILE="../docs/index.html"
HTML="$(cat $HTMLFILE)"
DATE="$(date)"

cat > index_html.go <<EOL
package web

// Code generated on "$DATE" DO NOT EDIT.

const indexSource = \`$HTML\`

EOL