diff options
| author | ruki <[email protected]> | 2021-09-14 00:47:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-14 00:47:07 +0800 |
| commit | 3abbb1c004c0c56bf34c9155098e1844e0483581 (patch) | |
| tree | a8a19e4b771eb4fff452f43e794b5c7218eea8b5 /xmake/rules/xmake_cli/xmake.lua | |
| parent | 8c8030ba48cda0c12ed7934b6dd4ffff5b191a33 (diff) | |
remove before_load
Diffstat (limited to 'xmake/rules/xmake_cli/xmake.lua')
| -rw-r--r-- | xmake/rules/xmake_cli/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xmake_cli/xmake.lua b/xmake/rules/xmake_cli/xmake.lua index 2375c9e3b..a7e21a9e1 100644 --- a/xmake/rules/xmake_cli/xmake.lua +++ b/xmake/rules/xmake_cli/xmake.lua @@ -20,7 +20,7 @@ -- define rule: xmake cli program rule("xmake.cli") - before_load(function (target) + on_load(function (target) target:set("kind", "binary") assert(target:pkg("libxmake"), 'please add_packages("libxmake") to target(%s) first!', target:name()) end) |
