mirror of
https://codeberg.org/setop/elm-scripting
synced 2025-11-08 21:49:57 +00:00
more exploration
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,12 +1,14 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
CMDD=$(dirname $(realpath 0))
|
||||
|
||||
w1="$(mktemp out_$$_1_XXXX.js)"
|
||||
|
||||
elm make --optimize --output=${w1} $1 1>&2
|
||||
|
||||
w2="$(mktemp out_$$_XXXX.js)"
|
||||
|
||||
cat dom.js ${w1} launch.js > ${w2}
|
||||
cat ${CMDD}/dom.js ${CMDD}/preelm.js ${w1} ${CMDD}/postelm.js > ${w2}
|
||||
|
||||
rm ${w1}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user