From bdcbcb075b4114e96aa4497c04e1593db30da8e5 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 29 Jun 2019 11:45:30 +0200 Subject: [PATCH] make test: test V prod build --- compiler/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/Makefile b/compiler/Makefile index cce8528e28..93b34c06ac 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -8,9 +8,10 @@ v.c: curl -Os https://raw.githubusercontent.com/vlang/vc/master/v.c test: v + ./v -prod -o vprod . # Test prod build find .. -name '*_test.v' -print0 | xargs -0 -n1 ./v echo "Building V examples..." find ../examples -name '*.v' -print0 | xargs -0 -n1 ./v clean: - -rm -f v.c v + -rm -f v.c v vprod