diff options
| author | ruki <[email protected]> | 2018-09-12 23:22:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-12 14:15:59 +0800 |
| commit | 6c804755e70f08edb7c83031abc739db0561b75c (patch) | |
| tree | 81658492b09f3cf723ddc9d95f42aa5756c1a715 /xmake/actions/require/main.lua | |
| parent | 0a8a275f8cb9a51446746f796031882dfc8381ae (diff) | |
remove required packages
Diffstat (limited to 'xmake/actions/require/main.lua')
| -rw-r--r-- | xmake/actions/require/main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/actions/require/main.lua b/xmake/actions/require/main.lua index 0790e400c..4bcf70162 100644 --- a/xmake/actions/require/main.lua +++ b/xmake/actions/require/main.lua @@ -32,6 +32,7 @@ import("list") import("info") import("clear") import("search") +import("remove") import("install") -- @@ -82,6 +83,11 @@ function main() search(option.get("requires")) + -- remove for the installed packages + elseif option.get("remove") then + + remove(option.get("requires")) + -- show the given package info elseif option.get("info") then |
