diff options
| author | ruki <[email protected]> | 2020-08-29 18:56:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-29 18:56:30 +0800 |
| commit | 2397db59b96ef7d95c7b44c99f49d37eee3e794d (patch) | |
| tree | b8b7167fa85f233976a892a703bc463fc564ea20 | |
| parent | 256c36adcb212ab0325a8206bff557a6c896409c (diff) | |
export packages with dependences
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 3 | ||||
| -rw-r--r-- | xmake/actions/require/xmake.lua | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index c0f7f7d0e..50b739026 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -841,9 +841,6 @@ function export_packages(requires, opt) -- init options opt = opt or {} - -- do not export dependent packages - opt.nodeps = true - -- get the export directory local exportdir = assert(opt.exportdir) diff --git a/xmake/actions/require/xmake.lua b/xmake/actions/require/xmake.lua index 61d25c1a9..d2c085287 100644 --- a/xmake/actions/require/xmake.lua +++ b/xmake/actions/require/xmake.lua @@ -66,7 +66,7 @@ task("require") " $ xmake require --uninstall", " $ xmake require --uninstall tbox", " $ xmake require --uninstall --extra=\"{debug=true}\" tbox" } - , {nil, "export", "k", nil, "Export the installed packages.", + , {nil, "export", "k", nil, "Export the installed packages and their dependencies.", "e.g.", " $ xmake require --export", " $ xmake require --export tbox zlib", |
