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:
parent
48ab27d1f6
commit
a5bfff4ac6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user