1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-26 07:44:33 +02:00

Changed STATUS_ defines to enum class Error (#584)

* Changed STATUS_ defines  to enum class Error

* Added license blocks to new files

* Suppress  Compiling..Error.cpp  build script output

The filters that look for errors in the output were
triggering on the filename Error.cpp
This commit is contained in:
Mitch Bradley
2020-09-08 12:54:21 -10:00
committed by GitHub
parent 0e4013c472
commit 94b6feecce
22 changed files with 524 additions and 480 deletions

View File

@@ -23,7 +23,7 @@ def buildMachine(baseName, verbose=True, extraArgs=None):
app = subprocess.Popen(cmd, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=1)
for line in app.stdout:
line = line.decode('utf8')
if "Took" in line or 'Uploading' in line or "error" in line.lower():
if "Took" in line or 'Uploading' in line or ("error" in line.lower() and "Compiling" not in line):
print(line, end='')
app.wait()
print()