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 }