diff --git a/Features/remove-platform-code.lua b/Features/remove-platform-code.lua index 15c8688..6e26bcd 100644 --- a/Features/remove-platform-code.lua +++ b/Features/remove-platform-code.lua @@ -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