diff options
| author | ruki <[email protected]> | 2018-05-03 22:49:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-03 10:56:40 +0800 |
| commit | 73a30725702515eb2810161e98754731699cb837 (patch) | |
| tree | 5bdf4ca2eb5a466b2b0fe7cf1acfb98db2c3f253 /xmake/core/project/project.lua | |
| parent | 05fd6590defe26be976490131a88ee7db41bb084 (diff) | |
impl tracewpp rule
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index cb1e52f65..ac56439f1 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -412,12 +412,9 @@ function project._load_targets() -- do load with target rules if ok then for _, r in pairs(t:orderules()) do - local on_load = r:script("load") - if on_load then - ok, errors = sandbox.load(on_load, t) - if not ok then - break - end + ok, errors = r:do_load(t) + if not ok then + break end end if not ok then |
