From e98c5becba67d642b5fd5c6e4a206d79749e8953 Mon Sep 17 00:00:00 2001 From: s-ol Date: Thu, 22 Nov 2018 22:07:24 +1100 Subject: bundle binary files as URLs --- Tuprules.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Tuprules.lua') diff --git a/Tuprules.lua b/Tuprules.lua index 77b1ed8..cd711a5 100644 --- a/Tuprules.lua +++ b/Tuprules.lua @@ -1,3 +1,13 @@ tup.creategitignore() root = tup.nodevariable '.' +build = tup.nodevariable 'build' + +function lua_path() + local LUA_PATH = {} + LUA_PATH += root .. '/?.lua' + LUA_PATH += root .. '/?.server.lua' + LUA_PATH += root .. '/?/init.lua' + LUA_PATH += root .. '/?/init.server.lua' + return 'LUA_PATH="' .. table.concat(LUA_PATH, ';') .. '"' +end -- cgit v1.2.3