aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/extraction/test/extract
blob: b5d6a6a787862444206f2956e8548b964bbe071c (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
rm -f /tmp/extr.v 
d=`dirname $1`
n=`basename $1 .v`
echo "Cd \"$d\". Extraction Module $n. " > /tmp/extr$$.v;\
(../../../bin/coqtop.opt -silent -batch -require $n -load-vernac-source /tmp/extr$$.v && rm -f /tmp/extr$$.v) || (rm -f /tmp/extr$$.v; exit 1)