aboutsummaryrefslogtreecommitdiff
path: root/contrib/extraction/test/extract
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/extraction/test/extract')
-rwxr-xr-xcontrib/extraction/test/extract7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/extraction/test/extract b/contrib/extraction/test/extract
new file mode 100755
index 0000000000..4b3da13712
--- /dev/null
+++ b/contrib/extraction/test/extract
@@ -0,0 +1,7 @@
+#!/bin/sh
+rm -f /tmp/extr.v
+d=`dirname $1`
+n=`basename $1 .v`
+echo "Cd \"$d\". Extraction Module $n. " > /tmp/extr.v;\
+coqtop -batch -require $n -load-vernac-source /tmp/extr.v
+