1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/test.sh

12 lines
233 B
Bash
Raw Normal View History

#!/bin/sh
2019-07-21 14:44:20 +03:00
for f in `find . -type f -name '*_test.v'`; do
2019-07-21 14:44:20 +03:00
echo "Testing $f..."
v $f || echo "fail"
done
for f in `find examples -type f -name '*.v'`; do
2019-07-21 14:44:20 +03:00
echo "Building $f..."
v $f || echo "fail"
done