diff options
| author | ruki <[email protected]> | 2022-06-13 22:43:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-06-13 22:43:03 +0800 |
| commit | 736d72fc583f3a7c5f8f97c6079db2847da7757e (patch) | |
| tree | 8a33445497209f03a90620f9eb2d9fce9157fa16 /xmake/actions/install/xmake.lua | |
| parent | b871678de09d8185e6e13b05e726e56b72ad696a (diff) | |
support group for xmake install
Diffstat (limited to 'xmake/actions/install/xmake.lua')
| -rw-r--r-- | xmake/actions/install/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/actions/install/xmake.lua b/xmake/actions/install/xmake.lua index 1bcd90b16..c7079f432 100644 --- a/xmake/actions/install/xmake.lua +++ b/xmake/actions/install/xmake.lua @@ -46,6 +46,11 @@ task("install") " $ xmake install -o /usr/local", "or $ DESTDIR=/usr/local xmake install", "or $ INSTALLDIR=/usr/local xmake install" } + , {'g', "group", "kv", nil , "Install all targets of the given group. It support path pattern matching.", + "e.g.", + " xmake install -g test", + " xmake install -g test_*", + " xmake install --group=benchmark/*" } , {'a', "all", "k", nil , "Install all targets." } , {nil, "admin", "k", nil , "Try to request administrator permission to install"} |
