summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-16 21:50:37 +0800
committerruki <[email protected]>2016-02-16 21:50:37 +0800
commit1015eb5af840daeb67af07ba359a18ee5d5215c6 (patch)
tree231c1e983508426d31000033f222818d4d3fa17c
parent58a508ef0789085f970c695a87825c31f95689db (diff)
modify deprecated comments
-rw-r--r--xmake/core/base/interpreter.lua4
-rw-r--r--xmake/core/base/project.lua2
-rw-r--r--xmake/core/sandbox/builtin/os.lua1
3 files changed, 3 insertions, 4 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua
index 869d20b99..db1d95d2e 100644
--- a/xmake/core/base/interpreter.lua
+++ b/xmake/core/base/interpreter.lua
@@ -600,7 +600,7 @@ function interpreter.api_register_def_scope(self, ...)
self:_api_register_xxx_scope("def", implementation, ...)
end
--- TODO: we will remove the deprecated api in the future
+-- TODO: deprecated
-- register api for set_scope()
function interpreter.api_register_set_scope(self, ...)
@@ -641,7 +641,7 @@ function interpreter.api_register_set_scope(self, ...)
self:_api_register_xxx_scope("set", implementation, ...)
end
--- TODO: we will remove the deprecated api in the future
+-- TODO: deprecated
-- register api for add_scope()
function interpreter.api_register_add_scope(self, ...)
diff --git a/xmake/core/base/project.lua b/xmake/core/base/project.lua
index 2bdbad5f6..3aeefd244 100644
--- a/xmake/core/base/project.lua
+++ b/xmake/core/base/project.lua
@@ -326,7 +326,7 @@ function project._interpreter()
-- set root directory
interp:rootdir_set(xmake._PROJECT_DIR)
- -- TODO: we will remove the deprecated api in the future
+ -- TODO: deprecated
-- register api: set_target() and set_option()
interp:api_register_set_scope("target", "option")
interp:api_register_add_scope("target", "option")
diff --git a/xmake/core/sandbox/builtin/os.lua b/xmake/core/sandbox/builtin/os.lua
index 77b79fd09..cd1380f03 100644
--- a/xmake/core/sandbox/builtin/os.lua
+++ b/xmake/core/sandbox/builtin/os.lua
@@ -143,7 +143,6 @@ sandbox_builtin_os.match = os.match
sandbox_builtin_os.isdir = os.isdir
sandbox_builtin_os.isfile = os.isfile
sandbox_builtin_os.curdir = os.curdir
-sandbox_builtin_os.execute = os.execute
-- return module
return sandbox_builtin_os