Skip to content

Commit 1f239d6

Browse files
committed
test: move tests from TOML to standalone shell scripts
1 parent 54a8419 commit 1f239d6

File tree

3 files changed

+27
-18
lines changed

3 files changed

+27
-18
lines changed

mise.toml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,3 @@ run = """
2323
rm -f release/cipherstash-encrypt-uninstall.sql
2424
rm -f release/cipherstash-encrypt.sql
2525
"""
26-
27-
[tasks."docs:generate"]
28-
description = "Generate API documentation with Doxygen"
29-
run = """
30-
echo "Generating API documentation..."
31-
doxygen Doxyfile
32-
echo "Documentation generated at docs/api/html/index.html"
33-
"""
34-
35-
[tasks."docs:validate"]
36-
description = "Validate SQL documentation"
37-
run = """
38-
echo "Checking documentation coverage..."
39-
./tasks/check-doc-coverage.sh
40-
echo ""
41-
echo "Validating required tags..."
42-
./tasks/validate-required-tags.sh
43-
"""

tasks/docs/generate.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
#MISE description="Generate API documentation (with Doxygen)"
3+
4+
set -e
5+
6+
if ! which -s doxygen; then
7+
echo "error: doxygen not installed"
8+
exit 2
9+
fi
10+
11+
echo "Generating API documentation..."
12+
echo
13+
doxygen Doxyfile
14+
echo
15+
echo "Documentation generated at docs/api/html/index.html"

tasks/docs/validate.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
#MISE description="Validate SQL documentation"
3+
4+
set -e
5+
6+
echo
7+
echo "Checking documentation coverage..."
8+
mise run --output prefix docs:validate:coverage
9+
10+
echo
11+
echo "Validating required tags..."
12+
mise run --output prefix docs:validate:required-tags

0 commit comments

Comments
 (0)