summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-15 00:44:24 +0800
committerruki <[email protected]>2024-02-15 00:44:24 +0800
commite5f3c0b6221b26a2c65384131f74dc0c23960f0b (patch)
treeceac3f1fbc5c2e904a1cea3a5b3d7bb063375626
parent237cec51d53c8b0fa4372f78d8b2164045352d37 (diff)
remove unused codes
-rw-r--r--xmake/core/base/private/select_script.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/base/private/select_script.lua b/xmake/core/base/private/select_script.lua
index 0bd856d4a..b0c3900dc 100644
--- a/xmake/core/base/private/select_script.lua
+++ b/xmake/core/base/private/select_script.lua
@@ -18,14 +18,6 @@
-- @file select_script.lua
--
--- define module
-local instance_deps = instance_deps or {}
-
--- load modules
-local option = require("base/option")
-local string = require("base/string")
-local table = require("base/table")
-
-- match pattern, plat|arch
function _match_pattern(pattern, plat, arch)
return (plat .. '|' .. arch):match('^' .. pattern .. '$') or plat:match('^' .. pattern .. '$')