diff options
| author | ruki <[email protected]> | 2023-06-30 11:21:05 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-30 11:21:05 +0800 |
| commit | 74aa8510251eb3a325789ab25bb119f3481171d7 (patch) | |
| tree | 5b584fa50a56b01b959b4e77581a3c9d382bc19a | |
| parent | 83a29121653eba255657de9f9150ee062bcedf81 (diff) | |
| parent | 6edbeda04163be0a6e12c41018bfd3fe87ba70bd (diff) | |
Merge pull request #3906 from calebkiage/sort-keys-in-manifest-files
Sort package 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 |
