Skip to content

Commit f05e12d

Browse files
authored
Merge pull request #88 from coq/wrap-coqdoc
Wrap coqdoc calls
2 parents a1922ab + b51aa36 commit f05e12d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dev/with-rocq-wrap.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ cat > .wrappers/coqdep <<EOF
2323
exec rocq dep "\$@"
2424
EOF
2525

26-
chmod +x .wrappers/coqc .wrappers/coqdep
26+
cat > .wrappers/coqdoc <<EOF
27+
#!/bin/sh
28+
# hash = $rocqhash
29+
exec rocq doc "\$@"
30+
EOF
31+
32+
chmod +x .wrappers/coqc .wrappers/coqdep .wrappers/coqdoc
2733

2834
ln -s "$(ocamlfind query rocq-runtime.kernel)" .wrappers/kernel
2935

0 commit comments

Comments
 (0)