This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package=maquette-bulma
version=0.1.0
find . | grep -v '^\./node_modules/' | grep .ls$ | while read file_ls; do
file_js="${file_ls%.ls}.js"
targets=($file_js)
type[$file_js]=livescript
sources[$file_js]=$file_ls
done
# FIXME: We’ll need an upstream update. The “livescript” module currently
# uses browserify, which we don’t want.
function livescript.build {
write "${target}: ${sources[$target]} $(dirdep $target)"
write "\t@echo '$(LSC $target)'"
write "\t${Q}npx lsc -pc ${sources[$target]} > $target || (i=\$\$?; rm $target; return \$\$i)"
write
}