File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ def set_boards_to_build(build_all):
6868
6969 if not build_all :
7070 boards_to_build = set ()
71- board_pattern = re .compile (r"^ports\ /[^/]+\ /boards\ /([^/]+)\ /" )
72- port_pattern = re .compile (r"^ports\ /([^/]+)\ /" )
71+ board_pattern = re .compile (r"^ports/[^/]+/boards/([^/]+)/" )
72+ port_pattern = re .compile (r"^ports/([^/]+)/" )
7373 for p in changed_files :
7474 # See if it is board specific
7575 board_matches = board_pattern .search (p )
@@ -120,7 +120,7 @@ def set_docs_to_build(build_all):
120120 doc_match = build_all
121121 if not build_all :
122122 doc_pattern = re .compile (
123- r"^(?:docs|extmod/ulab|(?:(?:ports\ /\w+\ /bindings|shared-bindings)\S+\.c|conf\.py|tools\ /extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
123+ r"^(?:docs|extmod/ulab|(?:(?:ports/\w+/bindings|shared-bindings)\S+\.c|conf\.py|tools/extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
124124 )
125125 for p in changed_files :
126126 if doc_pattern .search (p ):
You can’t perform that action at this time.
0 commit comments