[*] unfuck remove-platform-code for legacy users
This commit is contained in:
parent
1f8f43a8e1
commit
8779d9596d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user