diff options
author | starkos <none@none> | 2009-04-24 02:55:10 +0400 |
---|---|---|
committer | starkos <none@none> | 2009-04-24 02:55:10 +0400 |
commit | 827ce5ef8423baf3ab5d3171189113365cf3dc5f (patch) | |
tree | 70870e27e5911a33c7eea25566daa5595759332b /src/_premake_main.lua | |
parent | cbe75c4d9cf64a2d4d870e785b72fa92019fef6f (diff) |
Phased out templates from manifest
Diffstat (limited to 'src/_premake_main.lua')
-rw-r--r-- | src/_premake_main.lua | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/_premake_main.lua b/src/_premake_main.lua index c72726d..97b76d4 100644 --- a/src/_premake_main.lua +++ b/src/_premake_main.lua @@ -69,23 +69,10 @@ -- everything gets initialized in the proper order. if (scriptpath) then - local scripts, templates, actions = dofile(scriptpath .. "/_manifest.lua") - - -- core code first + local scripts = dofile(scriptpath .. "/_manifest.lua") for _,v in ipairs(scripts) do dofile(scriptpath .. "/" .. v) end - - -- then the templates - for _,v in ipairs(templates) do - local name = path.getbasename(v) - _TEMPLATES[name] = premake.loadtemplatefile(scriptpath .. "/" .. v) - end - - -- finally the actions - for _,v in ipairs(actions) do - dofile(scriptpath .. "/" .. v) - end end |