mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-10 18:25:17 +00:00
29 lines
315 B
Bash
29 lines
315 B
Bash
|
#!/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
|