rust/doc/run-tests.sh
Marijn Haverbeke a4b77758f0 Move tutorial over to a format similar to the reference doc
And adjust highlighting/testing scripts to deal with this.
2012-01-19 13:34:10 +01:00

9 lines
177 B
Bash
Executable file

#!/bin/bash
rm -f fragments/*.rs
mkdir -p fragments
node extract-tests.js $1
for F in `ls fragments/*.rs`; do
$RUSTC $F > /dev/null
if [[ $? != 0 ]] ; then echo $F; fi
done