diff options
| author | ruki <[email protected]> | 2018-11-23 22:53:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-23 11:19:48 +0800 |
| commit | 97953a03922981aeb3614e9a0cb40d1ef7cb70f7 (patch) | |
| tree | 5de0c5444f536188fec621e7bbfc4c47da7acc68 /xmake/actions/require/install.lua | |
| parent | be2ea01017a8a876a786167dd697cd79343b6d4a (diff) | |
add on_load in require info
Diffstat (limited to 'xmake/actions/require/install.lua')
| -rw-r--r-- | xmake/actions/require/install.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/require/install.lua b/xmake/actions/require/install.lua index b0ffb4f0b..941a43fc2 100644 --- a/xmake/actions/require/install.lua +++ b/xmake/actions/require/install.lua @@ -53,6 +53,9 @@ function _register_required_package(instance, requireinfo) end end + -- save this package version + requireinfo:set("version", instance:version_str()) + -- enable this require info requireinfo:enable(true) end |
