Commit 95964b17 by Mislav Marohnić

Highlight output that mentions path to full build log

People often miss that and think that the last 10 lines of build output
is the only information they got.
parent 17cb1ed6
...@@ -81,8 +81,8 @@ build_failed() { ...@@ -81,8 +81,8 @@ build_failed() {
echo "Inspect or clean up the working tree at ${BUILD_PATH}" echo "Inspect or clean up the working tree at ${BUILD_PATH}"
if file_is_not_empty "$LOG_PATH"; then if file_is_not_empty "$LOG_PATH"; then
echo "Results logged to ${LOG_PATH}" colorize 33 "Results logged to ${LOG_PATH}"
echo printf "\n\n"
echo "Last 10 log lines:" echo "Last 10 log lines:"
tail -n 10 "$LOG_PATH" tail -n 10 "$LOG_PATH"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment