[*] unfuck remove-platform-code for legacy users

This commit is contained in:
Reece Wilson 2022-01-18 20:53:44 +00:00
parent 1f8f43a8e1
commit 8779d9596d

View File

@ -1,10 +1,10 @@
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)
filter(auFilter({notPlatforms = platform, notArchs = platform})) then
auFilter(auFilterOf({notPlatforms = platform, notArchs = platform}))
excludes("**/" .. platform .. "/**.*");
excludes("**/*" .. platform .. ".*");
end
auFilter{}
end)
excludes("**/arm/**"); -- whatever, we might name a file `arm` something, as in the limb, but a directory is far less likely for now