diff options
| author | ruki <[email protected]> | 2021-01-07 00:38:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-07 00:38:36 +0800 |
| commit | 131105d7fcf17cc25ce3f65e8223706d5387cd0a (patch) | |
| tree | f73c57f127383efd3f496ea7cb4215d43b036d11 /xmake/modules | |
| parent | 5b8aea6d6eb1f2b5290a3bbee585a958a35c4a97 (diff) | |
git clean all files for packages
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/devel/git/clean.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/devel/git/clean.lua b/xmake/modules/devel/git/clean.lua index 0f6c57e3f..ae21c3d88 100644 --- a/xmake/modules/devel/git/clean.lua +++ b/xmake/modules/devel/git/clean.lua @@ -56,6 +56,11 @@ function main(opt) table.insert(argv, "-f") end + -- remove all files and does not use the standard ignore rules + if opt.all then + table.insert(argv, "-x") + end + -- enter repository directory local oldir = nil if opt.repodir then |
