Skip to content

Commit 4dd4adc

Browse files
Debug prints
1 parent a13b204 commit 4dd4adc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ner_environment/build_system/build_system.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def build(profile: str = typer.Option(None, "--profile", "-p", callback=unsuppor
5454
is_cmake = os.path.exists("CMakeLists.txt")
5555

5656
if is_cmake: # Repo uses CMake, so execute CMake commands.
57+
print("[bold blue]CMake project detected.\n")
5758
# If the build directory doesn't exist, make it and configure CMake
5859
if not os.path.exists("build"):
5960
run_command(["docker", "compose", "run", "--rm", "ner-gcc-arm", "mkdir", "-p", "build"], stream_output=True)
@@ -63,6 +64,7 @@ def build(profile: str = typer.Option(None, "--profile", "-p", callback=unsuppor
6364
else:
6465
run_command(["docker", "compose", "run", "--rm", "ner-gcc-arm", "cmake", "--build", "build", f"-j{os.cpu_count()}"], stream_output=True)
6566
else: # Repo uses Make, so execute Make commands.
67+
print("[bold blue]Makefile project detected.\n") # REMOVE THIS
6668
if clean:
6769
run_command(["docker", "compose", "run", "--rm", "ner-gcc-arm", "make", "clean"], stream_output=True)
6870
else:

0 commit comments

Comments
 (0)