Skip to content
Snippets Groups Projects
Commit 21d92825 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix tidy.

parent dbefa31a
No related branches found
No related tags found
No related merge requests found
...@@ -6,9 +6,14 @@ JUNIT_FILE="./tidy-junit.xml" ...@@ -6,9 +6,14 @@ JUNIT_FILE="./tidy-junit.xml"
PASS=() PASS=()
FAIL=() FAIL=()
BASE_INTERNAL="$NAME.review.dbogatov.org"
if [ ! -z "$BASE" ]; then
BASE_INTERNAL=$BASE
fi
for url in $TIDY_URLS for url in $TIDY_URLS
do do
curl -Ls https://$NAME.review.dbogatov.org/$TIDY_PREFIX/$url$TIDY_SUFFIX | tidy $TIDY_CONFIG -e &> tidy.out || true curl -Ls https://$BASE_INTERNAL/$TIDY_PREFIX/$url$TIDY_SUFFIX | tidy $TIDY_CONFIG -e &> tidy.out || true
cat tidy.out cat tidy.out
if cat tidy.out | grep -q '\- Warning:' if cat tidy.out | grep -q '\- Warning:'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment