Files
elm-markitup/build.sh
2025-10-05 01:30:46 +02:00

9 lines
344 B
Bash
Executable File

#!/bin/bash -eu
elm make --optimize --output=js/miu-demo.js src/Miu.elm
{ cat js/jquery.js js/jquery.markitup.js js/custom-element-markitup.js js/miu-demo.js ; echo 'Elm.Miu.init({node: document.getElementById("elm")});'; } | google-closure-compiler -W QUIET > out.js
sh <(awk -f qq.awk miu-demo.qq.html | sed '1s/%%%/"%%%"/') > index.html