27 lines
420 B
Lua
27 lines
420 B
Lua
local actions = {}
|
|
|
|
@[[local h = io.popen("ls .buildactions", "r")
|
|
for line in h:lines() do]]
|
|
--#include @[{".buildactions/"..line}]
|
|
@[[end]]
|
|
|
|
--[[function actions.debug()
|
|
actions.kernel(true)
|
|
actions.crescent()
|
|
actions.velxboot()
|
|
actions.clean()
|
|
end]]
|
|
|
|
function actions.all()
|
|
for i=1, #actions do
|
|
actions[actions[i]]()
|
|
end
|
|
end
|
|
|
|
if not arg[1] then
|
|
arg[1] = "all"
|
|
end
|
|
|
|
actions[arg[1]]()
|
|
|
|
print("Build complete.") |