diff options
| author | ruki <[email protected]> | 2023-02-11 19:39:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-11 19:39:17 +0800 |
| commit | 5239207aa34a2d89501f298e21c298c92a7b0e45 (patch) | |
| tree | 095371b5abaeff256e861c84a842067235294c41 /xmake/actions/require/xmake.lua | |
| parent | c34ac1c6921f5a52eb9721fcc77725eac9217450 (diff) | |
add xrepo clean --cache
Diffstat (limited to 'xmake/actions/require/xmake.lua')
| -rw-r--r-- | xmake/actions/require/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/require/xmake.lua b/xmake/actions/require/xmake.lua index 150bba51f..527fd03c8 100644 --- a/xmake/actions/require/xmake.lua +++ b/xmake/actions/require/xmake.lua @@ -45,6 +45,9 @@ task("require") "e.g.", " $ xmake require --clean", " $ xmake require --clean zlib tbox pcr*" } + , {nil, "clean_modes","kv", nil, "Set the modes of cleaning packages.", + "e.g.", + " $ xmake require --clean --clean_modes=cache,package" } , {'f', "force", "k", nil, "Force to reinstall all package dependencies." } , {'j', "jobs", "kv", tostring(os.default_njob()), "Set the number of parallel compilation jobs." } |
