Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

fix: allow more assignment types in Makefile check #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def save_err_file(errors: str, temp_dir: Path):

def is_makefile_project(current_path, project_name, project_class):
make_path = current_path / "Makefile"
name_matcher = re.compile(rf"^\s*NAME\s*:?=\s*{project_name}\s*$")
name_matcher = re.compile(rf"^\s*NAME\s*:{{0,3}}=\s*{project_name}\s*$")
logger.info(f"Makefile path: {make_path.resolve()}")
if not make_path.exists():
return False
Expand Down