From cda960a4cd846ca97f90b172014fd02206eb74a0 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 12 Jul 2024 11:44:12 +0200 Subject: just-import-cargo: sort "srcs" ... to have a more predictable result, allowing also for more meaningful diffs on updates. --- bin/just-import-cargo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/just-import-cargo.py b/bin/just-import-cargo.py index fef36ea..9eb0d0a 100755 --- a/bin/just-import-cargo.py +++ b/bin/just-import-cargo.py @@ -294,7 +294,7 @@ def compute_srcs(root_dir: str, name: str, version: str) -> List[Any]: with open(srcs_file, "w") as f: print(json.dumps(srcs), file=f) - return srcs + return sorted(srcs) def to_underscore(x: str): -- cgit v1.2.3