ceremonyclient/pebble/tool/make_lsm_data.sh
Cassandra Heart 2e2a1e4789
v1.2.0 (#31)
2024-01-03 01:31:42 -06:00

29 lines
315 B
Bash
Executable File

#!/bin/bash
dest=lsm_data.go
do="DO"
not="NOT"
edit="EDIT"
cat > ${dest} <<EOF
// Code generated by make_lsm_data.sh; ${do} ${not} ${edit}.
package tool
var lsmDataCSS = \`
EOF
cat data/lsm.css >> ${dest}
cat >> ${dest} <<EOF
\`
var lsmDataJS = \`
EOF
cat data/lsm.js >> ${dest}
cat>> ${dest} <<EOF
\`
EOF