12 lines
497 B
Lua
12 lines
497 B
Lua
|
local feature = function()
|
||
|
local platforms = {"win32", "linux", "xnu", "mac", "osx", "ios", "x86_64", "x86_32", "aarch", "arm64", "mips", "mips64", "riscv", "intel", "powerpc", "amiga"}
|
||
|
forEach(platforms, function(platform)
|
||
|
if (not _G[platform]) then
|
||
|
excludes("**/" .. platform .. "/**");
|
||
|
end
|
||
|
end)
|
||
|
|
||
|
excludes("**/arm/**"); -- whatever, we might name a file `arm` something, as in the limb, but a directory is far less likely for now
|
||
|
end
|
||
|
|
||
|
return feature
|