commit 904d3360c637dc83b39cc49fb831e35a64bf2f96
Author: Arlo Breault <[email protected]>
Date:   Wed Jul 8 21:06:18 2015 -0700

    Run go vet && fmt before testing
---
 Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index bf23366..6264564 100644
--- a/Makefile
+++ b/Makefile
@@ -78,11 +78,12 @@ data/langs: data/
 i18n: locale/ data/langs
 
 build:
-       go fmt
        go build
 
 # Add -i for installing latest version, -v for verbose
 test: build
+       ! gofmt -l . 2>&1 | read
+       go vet
        go test -v -run "$(filter)"
 
 cover: build



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to