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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user