forked from loafle/openapi-generator-original
* [elm] Add support for Elm 0.19 * add elm 0.18 samples, update cli option * fix elm 0.18 compile test * [elm] 0.19 fixes & improvements
15 lines
270 B
Bash
Executable File
15 lines
270 B
Bash
Executable File
#!/bin/bash -e
|
|
# elm make all elm files under src
|
|
|
|
for ELM in `find src -name "*.elm"`
|
|
do
|
|
echo "Compiling $ELM"
|
|
elm make $ELM --output /dev/null
|
|
rc=$?
|
|
if [[ $rc != 0 ]]
|
|
then
|
|
echo "ERROR!! FAILED TO COMPILE $ELM"
|
|
exit $rc;
|
|
fi
|
|
done
|