]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_lamp/commitdiff
push* scripts: use luasrcdiet if directed
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sun, 30 Jul 2017 01:34:55 +0000 (21:34 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 31 Jul 2017 23:23:28 +0000 (19:23 -0400)
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).

pushall.sh

index c747827c8884af71523613bb70166b5b46ffd6a9..73db1d39c0aa16938e55515da3ef93beb334db1e 100755 (executable)
@@ -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