[*] Update remove-platform-code

This commit is contained in:
Reece Wilson 2021-11-16 12:22:54 +00:00
parent 3f6c9b95e2
commit 381c784571

View File

@ -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