Skip to content

Commit

Permalink
add: write logs of west build to log file instead of stdout because o…
Browse files Browse the repository at this point in the history
…f the sheer mass of logs
  • Loading branch information
zeljkobekcic committed Aug 1, 2024
1 parent 433999e commit 21e2aa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ mkdir -p "$OUTPUT_DIRECTORY"
board=$(echo "$line" | yq -p=json '.board')
shield=$(echo "$line" | yq -p=json '.shield')

west build -d "build/$shield-$board" -b "$board" --pristine -- -DZMK_CONFIG="$ZMK_CONFIG_ROOT_PATH/config" -DSHIELD="$shield"
west build -d "build/$shield-$board" -b "$board" --pristine -- -DZMK_CONFIG="$ZMK_CONFIG_ROOT_PATH/config" -DSHIELD="$shield" > "$OUTPUT_DIRECTORY/$shield-$board.log"

cp "build/$shield-$board/zephyr/zmk.uf2" "$OUTPUT_DIRECTORY/$shield-$board.uf2"
done

Expand Down

0 comments on commit 21e2aa5

Please sign in to comment.