diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-11-22 11:07:24 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-11-22 11:07:24 +0000 |
| commit | e98c5becba67d642b5fd5c6e4a206d79749e8953 (patch) | |
| tree | 34965a21413107e089a77da8886dd85022c9e651 /Tuprules.lua | |
| parent | move glitch cube, torus4d to experiments (diff) | |
| download | mmm-e98c5becba67d642b5fd5c6e4a206d79749e8953.tar.gz mmm-e98c5becba67d642b5fd5c6e4a206d79749e8953.zip | |
bundle binary files as URLs
Diffstat (limited to 'Tuprules.lua')
| -rw-r--r-- | Tuprules.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
