phonograph/webc/build.sh

6 lines
222 B
Bash
Raw Normal View History

# Compile each .gleam file in src/ as a separate component module.
ls src | \
grep '_component.gleam' | \
xargs -I {} basename {} .gleam | \
xargs -I {} gleam run -m lustre/dev build component {} --outdir=../js_dist