Codebase list certgraph / 91f89ed web / generate.sh
91f89ed

Tree @91f89ed (Download .tar.gz)

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