rust/doc/tutorial/test.sh

9 lines
168 B
Bash
Raw Normal View History

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