1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/test.sh
2019-07-31 20:57:34 +02:00

12 lines
233 B
Bash

#!/bin/sh
for f in `find . -type f -name '*_test.v'`; do
echo "Testing $f..."
v $f || echo "fail"
done
for f in `find examples -type f -name '*.v'`; do
echo "Building $f..."
v $f || echo "fail"
done