diff options
| author | ruki <[email protected]> | 2024-08-22 00:34:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-23 08:14:32 +0800 |
| commit | d19c47eac0a44b0bfbbf2e4ce7cf98713720a245 (patch) | |
| tree | 7dda2c3d769c40aeb9d66efbfff91c7ff3d4d34c /xmake/modules/utils/ci/packageskey.lua | |
| parent | 84f170de57c8c58d37ccdefed7ad99e6c0c3ae48 (diff) | |
suppress logs
Diffstat (limited to 'xmake/modules/utils/ci/packageskey.lua')
| -rw-r--r-- | xmake/modules/utils/ci/packageskey.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/utils/ci/packageskey.lua b/xmake/modules/utils/ci/packageskey.lua index 50e3e2d1b..a293009af 100644 --- a/xmake/modules/utils/ci/packageskey.lua +++ b/xmake/modules/utils/ci/packageskey.lua @@ -40,6 +40,10 @@ import("private.action.require.impl.utils.get_requires") -- function main(requires_raw) + -- suppress all logs + option.save() + option.set("quiet", true, {force = true}) + -- get requires and extra config local requires_extra = nil local requires, requires_extra = get_requires(requires_raw) @@ -54,6 +58,8 @@ function main(requires_raw) end table.sort(keys) keys = table.concat(keys, ",") + + option.restore() print(hash.uuid4(keys):gsub('-', ''):lower()) end |
