mirror of
https://github.com/GaloisInc/cryptol.git
synced 2025-01-07 16:29:42 +03:00
Add a check-docs
command to the cry
script
This commit is contained in:
parent
0778fd8ff2
commit
3debc2bb47
5
cry
5
cry
@ -23,6 +23,7 @@ Available commands:
|
|||||||
rpc-test Run RPC server tests
|
rpc-test Run RPC server tests
|
||||||
rpc-docs Check that the RPC documentation is up-to-date
|
rpc-docs Check that the RPC documentation is up-to-date
|
||||||
exe-path Print the location of the local executable
|
exe-path Print the location of the local executable
|
||||||
|
check-docs Check the exercises embedded in the documentation
|
||||||
EOM
|
EOM
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,6 +98,10 @@ case $COMMAND in
|
|||||||
$DIR/cryptol-remote-api/check_docs.sh
|
$DIR/cryptol-remote-api/check_docs.sh
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
check-docs)
|
||||||
|
cabal v2-build exe:check-exercises
|
||||||
|
find ./docs/ProgrammingCryptol -name '*.tex' -print0 | xargs -0 -n1 cabal v2-exec check-exercises
|
||||||
|
;;
|
||||||
|
|
||||||
help) show_usage && exit 0 ;;
|
help) show_usage && exit 0 ;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user