summaryrefslogtreecommitdiff
path: root/apps/ci/ci-error-check.sh
blob: 1862fa7122b2ce422629e5e80921588a77de649a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

ERRORS_FILE="./env/dist/bin/Errors.log";

echo "Checking Startup Errors"
echo

if [[ -s ${ERRORS_FILE} ]]; then
     printf "The Errors.log file contains startup errors:\n\n";
     cat ${ERRORS_FILE};
     printf "\nPlease solve the startup errors listed above!\n";
     exit 1;
else
     echo "> No startup errors found in Errors.log";
fi

echo
echo "Done"