make test: test V prod build

pull/792/head
Alexander Medvednikov 2019-06-29 11:45:30 +02:00
parent 249fa95eab
commit bdcbcb075b
1 changed files with 2 additions and 1 deletions

View File

@ -8,9 +8,10 @@ v.c:
curl -Os https://raw.githubusercontent.com/vlang/vc/master/v.c curl -Os https://raw.githubusercontent.com/vlang/vc/master/v.c
test: v test: v
./v -prod -o vprod . # Test prod build
find .. -name '*_test.v' -print0 | xargs -0 -n1 ./v find .. -name '*_test.v' -print0 | xargs -0 -n1 ./v
echo "Building V examples..." echo "Building V examples..."
find ../examples -name '*.v' -print0 | xargs -0 -n1 ./v find ../examples -name '*.v' -print0 | xargs -0 -n1 ./v
clean: clean:
-rm -f v.c v -rm -f v.c v vprod