diff options
| author | ruki <[email protected]> | 2016-03-02 21:06:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-03-02 21:06:09 +0800 |
| commit | 4fa3ca927a032f57aaae44156ceeec6732c159f6 (patch) | |
| tree | 1091a3ad18f67ac43262899fa49ea529c67beeff /xmake/actions | |
| parent | 8ee46b185347f31fa6f4380c887974cdbafbb1d1 (diff) | |
add option and global module for sandbox
Diffstat (limited to 'xmake/actions')
| -rwxr-xr-x | xmake/actions/global/xmake.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/actions/global/xmake.lua b/xmake/actions/global/xmake.lua index 8c2b2495d..c71f27d15 100755 --- a/xmake/actions/global/xmake.lua +++ b/xmake/actions/global/xmake.lua @@ -26,6 +26,16 @@ task("global") -- set category set_task_category("action") + -- on run + on_task_run(function () + + -- imports + import("core.option") + import("core.global") + + + end) + -- set menu set_task_menu({ -- usage |
