0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-30 02:16:45 +01:00
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