diff --git a/check-doc.sh b/scripts/check-doc.sh similarity index 98% rename from check-doc.sh rename to scripts/check-doc.sh index 7997153..23dfd22 100755 --- a/check-doc.sh +++ b/scripts/check-doc.sh @@ -2,6 +2,8 @@ # author: deadc0de6 (https://github.com/deadc0de6) # Copyright (c) 2022, deadc0de6 +set -e + ## test doc external links find . -type f -iname '*.md' | while read -r line; do ./scripts/check_links.py "${line}" diff --git a/check-syntax.sh b/scripts/check-syntax.sh similarity index 100% rename from check-syntax.sh rename to scripts/check-syntax.sh diff --git a/check-tests-ng.sh b/scripts/check-tests-ng.sh similarity index 100% rename from check-tests-ng.sh rename to scripts/check-tests-ng.sh diff --git a/check-unittests.sh b/scripts/check-unittests.sh similarity index 100% rename from check-unittests.sh rename to scripts/check-unittests.sh diff --git a/tests.sh b/tests.sh index 45766a9..cdfeaf8 100755 --- a/tests.sh +++ b/tests.sh @@ -27,19 +27,19 @@ echo "current version ${dotdrop_version}" # test syntax echo "checking syntax..." -"${cur}"/check-syntax.sh +"${cur}"/scripts/check-syntax.sh # test doc echo "checking documentation..." -"${cur}"/check-doc.sh +"${cur}"/scripts/check-doc.sh # unittest echo "unittest..." -"${cur}"/check-unittests.sh +"${cur}"/scripts/check-unittests.sh # tests-ng echo "tests-ng..." -"${cur}"/check-tests-ng.sh +"${cur}"/scripts/check-tests-ng.sh ## done echo "All tests finished successfully"