ceremonyclient/pebble/tool/make_lsm_data.sh

29 lines
315 B
Bash
Raw Normal View History

2024-01-03 07:31:42 +00:00
#!/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