参考所有分组,完成尽量多的内容:结论为 source-map 守住 RS274 core manifest
This commit is contained in:
@@ -43,7 +43,6 @@ These are the first group to keep compiling while we peel away native-only depen
|
||||
- `interp_remap.cc`
|
||||
- `interp_setup.cc`
|
||||
- `interp_write.cc`
|
||||
- `inifile.cc`
|
||||
- `modal_state.cc`
|
||||
- `nurbs_additional_functions.cc`
|
||||
- `rs274ngc_pre.cc`
|
||||
|
||||
@@ -817,6 +817,27 @@ if missing_doc:
|
||||
"LinuxCNC fixture coverage is missing from docs/linuxcnc-porting.md: "
|
||||
+ ", ".join(missing_doc)
|
||||
)
|
||||
|
||||
source_map = Path("docs/linuxcnc-rs274-source-map.md").read_text(encoding="utf-8")
|
||||
manifest_core = [
|
||||
Path(line.split(":", 2)[1]).name
|
||||
for line in Path("linuxcnc-rs274-source-files.txt").read_text(encoding="utf-8").splitlines()
|
||||
if line.startswith("core:")
|
||||
]
|
||||
source_map_core = []
|
||||
in_core_section = False
|
||||
for line in source_map.splitlines():
|
||||
if line == "### Interpreter core":
|
||||
in_core_section = True
|
||||
continue
|
||||
if in_core_section and line.startswith("### "):
|
||||
break
|
||||
if in_core_section and line.startswith("- `"):
|
||||
source_map_core.append(line.split("`", 2)[1])
|
||||
if source_map_core != manifest_core:
|
||||
raise SystemExit(
|
||||
"docs/linuxcnc-rs274-source-map.md interpreter core list no longer matches linuxcnc-rs274-source-files.txt core manifest"
|
||||
)
|
||||
PY
|
||||
|
||||
for script in \
|
||||
|
||||
Reference in New Issue
Block a user