Codebase list certgraph / c61d07a web / generate.sh
c61d07a

Tree @c61d07a (Download .tar.gz)

generate.sh @c61d07araw · 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