diff options
| author | ruki <[email protected]> | 2017-01-05 12:15:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-01-06 17:20:08 +0800 |
| commit | 2e58f26793dc910c024eeba4adb6d52df26e0e22 (patch) | |
| tree | 61703e4e89fc3609a1774871645d5032a74eae6f /xmake/core/platform/platform.lua | |
| parent | 7d17523c795681265900d109c0ee26d2349eaf73 (diff) | |
move checker to on_check
Diffstat (limited to 'xmake/core/platform/platform.lua')
| -rw-r--r-- | xmake/core/platform/platform.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua index 079e42de3..ded064214 100644 --- a/xmake/core/platform/platform.lua +++ b/xmake/core/platform/platform.lua @@ -167,13 +167,6 @@ function _instance:tooldirs() return self._INFO.tooldirs end --- get the checker -function _instance:checker() - - -- load checker - return self:_load("checker") -end - -- get the environment function _instance:environment() @@ -213,7 +206,6 @@ function platform._interpreter() , "platform.set_hosts" , "platform.set_archs" , "platform.set_menu" - , "platform.set_checker" , "platform.set_tooldirs" , "platform.set_environment" } @@ -221,6 +213,7 @@ function platform._interpreter() { -- platform.on_xxx "platform.on_load" + , "platform.on_check" , "platform.on_install" , "platform.on_uninstall" } |
