Do not use wildcards for some project types.

Legacy boilerplate should include all relevant exts (inc some optional ones we dont usually get with .*)
This commit is contained in:
Reece Wilson 2021-05-21 20:25:29 +01:00
parent 48ab27d1f6
commit a5bfff4ac6

View File

@ -127,10 +127,10 @@ function JsonProcessor(info)
auProject(name, a.info.projectType, {path .. "/*.*"}, {path .. "/"}, a.info.out, path)
elseif (result.type:lower() == "root") then
auProject(name, a.info.projectType, {path .. "/**.*"}, {path .. "/"}, a.info.out, path)
auProject(name, a.info.projectType, {path}, {path}, a.info.out, path)
elseif (result.type:lower() == "pair") then
auProject(name, a.info.projectType, {path .. "/" .. result.srcSource .. "/**.*"}, {path .. "/" .. result.srcInclude}, a.info.out, path)
auProject(name, a.info.projectType, {path .. "/" .. result.srcSource}, {path .. "/" .. result.srcInclude}, a.info.out, path)
elseif (result.type:lower() == "generic") then
print("type 'generic' is deprecated, use 'empty' instead")
@ -232,6 +232,7 @@ function JsonProcessor(info)
forEach(action.eval, loadstring)
end
end
os.chdir(cwd)
_G["info"] = nil
end