mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 13:01:18 +00:00
move test helpers
This commit is contained in:
2
check-doc.sh → scripts/check-doc.sh
vendored
2
check-doc.sh → scripts/check-doc.sh
vendored
@@ -2,6 +2,8 @@
|
|||||||
# author: deadc0de6 (https://github.com/deadc0de6)
|
# author: deadc0de6 (https://github.com/deadc0de6)
|
||||||
# Copyright (c) 2022, deadc0de6
|
# Copyright (c) 2022, deadc0de6
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
## test doc external links
|
## test doc external links
|
||||||
find . -type f -iname '*.md' | while read -r line; do
|
find . -type f -iname '*.md' | while read -r line; do
|
||||||
./scripts/check_links.py "${line}"
|
./scripts/check_links.py "${line}"
|
||||||
8
tests.sh
vendored
8
tests.sh
vendored
@@ -27,19 +27,19 @@ echo "current version ${dotdrop_version}"
|
|||||||
|
|
||||||
# test syntax
|
# test syntax
|
||||||
echo "checking syntax..."
|
echo "checking syntax..."
|
||||||
"${cur}"/check-syntax.sh
|
"${cur}"/scripts/check-syntax.sh
|
||||||
|
|
||||||
# test doc
|
# test doc
|
||||||
echo "checking documentation..."
|
echo "checking documentation..."
|
||||||
"${cur}"/check-doc.sh
|
"${cur}"/scripts/check-doc.sh
|
||||||
|
|
||||||
# unittest
|
# unittest
|
||||||
echo "unittest..."
|
echo "unittest..."
|
||||||
"${cur}"/check-unittests.sh
|
"${cur}"/scripts/check-unittests.sh
|
||||||
|
|
||||||
# tests-ng
|
# tests-ng
|
||||||
echo "tests-ng..."
|
echo "tests-ng..."
|
||||||
"${cur}"/check-tests-ng.sh
|
"${cur}"/scripts/check-tests-ng.sh
|
||||||
|
|
||||||
## done
|
## done
|
||||||
echo "All tests finished successfully"
|
echo "All tests finished successfully"
|
||||||
|
|||||||
Reference in New Issue
Block a user