diff options
| author | Caleb Kiage <[email protected]> | 2023-06-29 17:22:46 +0300 |
|---|---|---|
| committer | Caleb Kiage <[email protected]> | 2023-06-29 17:22:46 +0300 |
| commit | 6edbeda04163be0a6e12c41018bfd3fe87ba70bd (patch) | |
| tree | dd5753b4bb44110bc5e1c8a125f9ecc3c6e7eebe | |
| parent | b408fc1e987970fc00c0afdebedd5d99376a1307 (diff) | |
Sort manifest keys on save for easier diffing when troubleshooting
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 21842b51f..8c86d0abb 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -919,7 +919,7 @@ function _instance:manifest_save() end -- save manifest - local ok, errors = io.save(self:manifest_file(), manifest) + local ok, errors = io.save(self:manifest_file(), manifest, { orderkeys = true }) if not ok then os.raise(errors) end |
