Commit 2d2c189a authored by Gregor Hartmann's avatar Gregor Hartmann Committed by Marcel Stör
Browse files

Add checking of Lua sources to travis build (#2423)

parent 04981f73
......@@ -7,7 +7,7 @@
do
local _,ma,fa=node.flashindex()
for n,v in pairs{LFS_MAPPED=ma, LFS_BASE=fa, SPIFFS_BASE=sa} do
print(('export %s=""0x%x"'):format(n, v)
print(('export %s=""0x%x"'):format(n, v))
end
end
--
......
......@@ -43,7 +43,7 @@ m:on("offline", function(conn)
end)
m:on("message",dispatch )
-- Lua: mqtt:connect( host, port, secure, auto_reconnect, function(client) )
m:connect(192.168.18.88,1883,0,1)
m:connect("192.168.18.88",1883,0,1)
-- usage:
-- another client(pc) subscribe to /topic2, will receive the test.lua content.
......
......@@ -29,4 +29,8 @@ cd "$TRAVIS_BUILD_DIR"/ld || exit
cd "$TRAVIS_BUILD_DIR" || exit
make clean
make
LUA_FILES=`find lua_modules lua_examples -iname "*.lua"`
echo checking $LUA_FILES
./luac.cross -p $LUA_FILES
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment