sync with upstream

This commit is contained in:
Dave Machado
2017-08-03 14:15:06 -04:00
parent fa40a83200
commit 5214187d8d
4 changed files with 32 additions and 7 deletions

View File

@@ -19,19 +19,18 @@ else
fi
echo "running format validation..."
./validate_format.rb $FORMAT_FILE > format_results.txt
./validate_format.rb $FORMAT_FILE
if [[ $? != 0 ]]; then
echo "format validation failed!"
cat format_results.txt | build_bot
exit 1
else
echo "format validation passed!"
fi
echo "running link validation..."
./validate_links.rb $LINK_FILE
if [[ $? != 0 ]]; then
echo "link validation failed!"
echo "link(s) were unavailible during the build. Please verfiy that they are valid." | build_bot
exit 1
else
echo "link validation passed!"