-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_deploy.lua
More file actions
48 lines (34 loc) · 977 Bytes
/
Copy pathcreate_deploy.lua
File metadata and controls
48 lines (34 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- Load modules to get a list of all required Lua files
--[[
Author: Martin Eden
Last mod.: 2026-06-20
]]
--[[
How to use
* Include root modules in <ModulesList>
* Do one of
* Copy this file to root Lua source directory
* Call this file from Lua source directory:
$ lua ../builder/create_deploy.lua
Make sure that main Lua file executes without errors when
loaded as module. If needed, make changes to it to behave so.
At loading via request() module dependencies are stored in
some global table. create_deploy_script() uses that table to
write Bash script which copies module files to local directory.
]]
package.path = package.path .. ';../../../?.lua'
require('workshop.base')
local create_deploy_script = request('!.system.create_deploy_script')
local ModulesList =
{
'workshop.base',
'serialize_lua_graph',
}
create_deploy_script(ModulesList)
--[[
202?
2026-01-21
2026-04-23
2026-04-25
2026-06-01
]]