From: Nathaniel Wesley Filardo Date: Sun, 30 Jul 2017 01:34:55 +0000 (-0400) Subject: push* scripts: use luasrcdiet if directed X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=13cd7845bb70b332eb0a0930d651b1ad246ff209;p=acmetensortoys-esp-lua_lamp push* scripts: use luasrcdiet if directed 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). --- diff --git a/pushall.sh b/pushall.sh index c747827..73db1d3 100755 --- a/pushall.sh +++ b/pushall.sh @@ -10,8 +10,8 @@ dopushcompile net/nwfmqtt.lua dopushcompile examples/lamp/lamp-touch.lua #dopushcompile examples/lamp/lamp-remote.lua #dopushcompile examples/lamp/telnetd-cap.lua -#dopush examples/lamp/conf/nwfmqtt.conf -#dopush examples/lamp/conf/nwfmqtt.subs +#dopushtext examples/lamp/conf/nwfmqtt.conf +#dopushtext examples/lamp/conf/nwfmqtt.subs dopushcompile examples/lamp/init2.lua #for i in examples/lamp/draw-*.lua; do