Skip to content

Commit 555f83d

Browse files
authored
Update process_fine_grained_swiftdeps.py
1 parent 3bf039b commit 555f83d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Inputs/process_fine_grained_swiftdeps.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
import subprocess
55
import sys
66

7+
# Fine-grained swiftdeps files use multiple lines for each graph node.
8+
# Compress such a file so that each entry is one line of the form:
9+
# <kind> <aspect> <context> <name> <isProvides>
10+
# Also sort for consistency, since the node order can vary.
11+
712
output = subprocess.run([
813
sys.argv[1],
914
"--to-yaml",

0 commit comments

Comments
 (0)