]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - Makefile
Makefile: add test target
[safcm/safcm.git] / Makefile
index ddde397b2ce427b5995cce8933a426332b17aa36..152ec8a21927a82c6057a686ca84fc123f70bc3a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,12 @@ safcm:
        @# For proper permissions after initial clone with a strict umask
        cd cmd/safcm/testdata/project && ../../../../safcm fixperms 2> /dev/null
 
+test:
+       go vet ./...
+       go test -race ./...
+
 clean:
        rm -rf remote/helpers/
        rm -f safcm
 
-.PHONY: all clean safcm
+.PHONY: all test clean safcm