Add misc/scripts

Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
This commit is contained in:
Yuki Kishimoto
2024-04-09 20:01:05 +02:00
parent d19486325f
commit 02fd33225c
6 changed files with 109 additions and 0 deletions

14
misc/scripts/check-docs.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -euo pipefail
buildargs=(
"-p cashu"
"-p cashu-sdk"
)
for arg in "${buildargs[@]}"; do
echo "Checking '$arg' docs"
cargo doc $arg --all-features
echo
done