diff options
| author | ruki <[email protected]> | 2016-03-18 19:57:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-03-18 19:57:22 +0800 |
| commit | 7ff5704f835df20b79db4f672204df9a562058aa (patch) | |
| tree | 936db6ad6da98ae0f97efb45663e933eb54be5a5 /xmake/core/base/interpreter.lua | |
| parent | 34d77b966b9640673b4a6d23758b3d9f51cb1169 (diff) | |
remove install and package from platform
Diffstat (limited to 'xmake/core/base/interpreter.lua')
| -rw-r--r-- | xmake/core/base/interpreter.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua index 590041555..127663c40 100644 --- a/xmake/core/base/interpreter.lua +++ b/xmake/core/base/interpreter.lua @@ -424,11 +424,7 @@ function interpreter.init() , _MTIMES = {}}} -- inherit the interfaces of interpreter - for k, v in pairs(interpreter) do - if type(v) == "function" then - instance[k] = v - end - end + table.inherit2(instance, interpreter) -- register the builtin interfaces instance:api_register("add_subdirs", interpreter.api_builtin_add_subdirs) |
