2020-05-25 13:50:51 +10:00
|
|
|
local actions = {}
|
|
|
|
|
2020-06-02 16:14:26 +10:00
|
|
|
@[[local h = io.popen("ls .buildactions", "r")
|
|
|
|
for line in h:lines() do]]
|
|
|
|
--#include @[{".buildactions/"..line}]
|
|
|
|
@[[end]]
|
2020-05-25 13:50:51 +10:00
|
|
|
|
2020-06-02 16:14:26 +10:00
|
|
|
--[[function actions.debug()
|
|
|
|
actions.kernel(true)
|
2020-05-25 13:50:51 +10:00
|
|
|
actions.crescent()
|
|
|
|
actions.velxboot()
|
|
|
|
actions.clean()
|
2020-06-02 16:14:26 +10:00
|
|
|
end]]
|
|
|
|
|
|
|
|
function actions.all()
|
|
|
|
for i=1, #actions do
|
|
|
|
actions[actions[i]]()
|
|
|
|
end
|
2020-05-25 13:50:51 +10:00
|
|
|
end
|
|
|
|
|
|
|
|
if not arg[1] then
|
|
|
|
arg[1] = "all"
|
|
|
|
end
|
|
|
|
|
|
|
|
actions[arg[1]]()
|
2020-05-09 13:51:05 +10:00
|
|
|
|
2020-05-12 16:16:36 +10:00
|
|
|
print("Build complete.")
|