If ${LUADIET} is empty, send files as they are; otherwise, stream them
through luasrcdiet. To use the default options, use 'LUADIET=' '" or
something to that effect. This can be set per-file, should some module
turn out to be broken by dieting.
The "dopush" utility macro is split and now called "dopushlua" and
"dopushtext" (which skips luasrcdiet even if it is engaged).
pushsrc() {
dopushcompile util/compileall.lua
- dopush net/nwfmqtt.lua
- dopush _external/lcd1602.lua
- dopush examples/ctfws/ctfws.lua
- dopush examples/ctfws/ctfws-lcd.lua
- dopush examples/ctfws/init3.lua
+ dopushlua net/nwfmqtt.lua
+ dopushlua _external/lcd1602.lua
+ dopushlua examples/ctfws/ctfws.lua
+ dopushlua examples/ctfws/ctfws-lcd.lua
+ dopushlua examples/ctfws/init3.lua
dopushcompile examples/ctfws/init2.lua
}
exit 1
fi
for f in ${CONFDIR}/*; do
- dopush "$f"
+ dopushtext "$f"
done
}