[*] Update remove-platform-code
This commit is contained in:
parent
3f6c9b95e2
commit
381c784571
@ -1,7 +1,7 @@
|
||||
local feature = function()
|
||||
local platforms = {"win32", "linux", "xnu", "mac", "osx", "ios", "x86_64", "x86_32", "aarch", "arm64", "mips", "mips64", "riscv", "intel", "powerpc", "amiga", "unix", "android", "apple", "amd64", "freebsd", "bsd"}
|
||||
forEach(platforms, function(platform)
|
||||
if (not _G[platform]) then
|
||||
filter(auFilter({notPlatforms = platform, notArchs = platform})) then
|
||||
excludes("**/" .. platform .. "/**.*");
|
||||
excludes("**/*" .. platform .. ".*");
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user