Files
elm-markitup/build.sh
2025-10-07 22:03:49 +02:00

9 lines
352 B
Bash
Executable File

#!/bin/bash -eu
elm make --optimize --output=js/miu-demo.js src/Miudemo.elm
{ cat js/jquery.js js/jquery.markitup.js js/custom-element-markitup.js js/miu-demo.js ; echo 'Elm.Miudemo.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