MCPcopy Create free account
hub / github.com/ElementsProject/lightning / parse_makefile_output

Function parse_makefile_output

devtools/include-order-fixer.py:24–38  ·  view source on GitHub ↗

Parse Makefile output, handling the 'Building version' line.

(output)

Source from the content-addressed store, hash-verified

22
23
24def parse_makefile_output(output):
25 """Parse Makefile output, handling the 'Building version' line."""
26 lines = output.splitlines()
27 # Skip "Building version" line if present
28 if lines and lines[0].startswith("Building version"):
29 if len(lines) > 1:
30 file_list = lines[1]
31 else:
32 file_list = ""
33 else:
34 file_list = lines[0] if lines else ""
35
36 # Split by spaces and filter out empty strings
37 files = [f for f in file_list.split() if f]
38 return files
39
40
41def get_files_to_check():

Callers 1

get_files_to_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected