mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-09-11 14:06:13 +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-docs Check that the RPC documentation is up-to-date
|
||||
exe-path Print the location of the local executable
|
||||
check-docs Check the exercises embedded in the documentation
|
||||
EOM
|
||||
}
|
||||
|
||||
@ -97,6 +98,10 @@ case $COMMAND in
|
||||
$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 ;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user