[*] Use auFilter in target
[*] Deprecate old script hack
This commit is contained in:
parent
0e4ef398fc
commit
6620dd54f2
@ -59,9 +59,9 @@ end
|
|||||||
|
|
||||||
local function auFilterForArchs(callback, ...)
|
local function auFilterForArchs(callback, ...)
|
||||||
auForEach(_auCurrentArchs, function(arch, ...)
|
auForEach(_auCurrentArchs, function(arch, ...)
|
||||||
filter(auConcatVararg({"architecture:" .. arch}, ...))
|
auFilter(auConcatVararg({"architecture:" .. arch}, ...))
|
||||||
callback(arch)
|
callback(arch)
|
||||||
filter {}
|
auFilter {}
|
||||||
end, ...)
|
end, ...)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -82,14 +82,10 @@ local function auFilterForConfigPlatforms(callback, ...)
|
|||||||
auForEach(_auCurrentArchs, function(arch, ...)
|
auForEach(_auCurrentArchs, function(arch, ...)
|
||||||
auForEach(Aurora.Settings.aNamesOfConfigs, function(config, ...)
|
auForEach(Aurora.Settings.aNamesOfConfigs, function(config, ...)
|
||||||
|
|
||||||
if (not _auExtendedConfig and not _auExtendedArch) then
|
auFilter(auFilterOf({platforms = platform, configs = config}))
|
||||||
filter(auConcatVararg({"configurations:" .. config}, ...))
|
|
||||||
else
|
|
||||||
filter(auConcatVararg({"configurations:" .. platform .. arch .. config}, ...))
|
|
||||||
end
|
|
||||||
|
|
||||||
callback(config, platform, arch)
|
callback(config, platform, arch)
|
||||||
filter {}
|
auFilter {}
|
||||||
end, ...)
|
end, ...)
|
||||||
end, ...)
|
end, ...)
|
||||||
end, ...)
|
end, ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user