mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-21 10:52:06 +02:00
fix build_sketch_cli result handling
This commit is contained in:
@ -34,6 +34,7 @@ function build_sketch_cli()
|
||||
local sketch=$1
|
||||
local board=$2
|
||||
arduino-cli --log --log-level info compile -b "$board" "$sketch"
|
||||
result=$?
|
||||
if [ $result -ne 0 ]; then
|
||||
echo "Build failed ($sketch) build verbose..."
|
||||
arduino-cli --log --log-level debug compile -b "$board" "$sketch"
|
||||
|
Reference in New Issue
Block a user