summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-27 22:40:03 +0800
committerruki <[email protected]>2018-12-27 10:00:19 +0800
commit21cf476235945d90933de6784283f042ded6f13e (patch)
tree5656507a8d8732b47f06906f394a57c9a331e080
parent4dc90f33c8afc0e74709b84ee1c8b2d51c74902e (diff)
add some new api to platform
-rw-r--r--xmake/core/platform/platform.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua
index 2a9c35c6b..8eaa56907 100644
--- a/xmake/core/platform/platform.lua
+++ b/xmake/core/platform/platform.lua
@@ -151,6 +151,10 @@ function platform._interpreter()
-- platform.on_xxx
"platform.on_load"
, "platform.on_check"
+ , "platform.on_config_check"
+ , "platform.on_global_check"
+ , "platform.on_environment_enter"
+ , "platform.on_environment_leave"
}
, module =
{