]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - Makefile
Makefile: run go test in test target, not all target
[nsscash/nsscash.git] / Makefile
index fe36167848afa89e7752c4edfb3e66ad08458717..f543f6d7f6df2999f6ee4280267be305fd569247 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,15 @@ all:
        go generate ./...
        go vet ./...
        go build
-       go test ./...
+       $(MAKE) --no-print-directory -C nss all
 
 clean:
        rm -f nsscash filetype_string.go
+       $(MAKE) --no-print-directory -C nss clean
+
+test:
+       go build # we need ./nsscash
+       go test ./...
+       $(MAKE) --no-print-directory -C nss test
 
-.PHONY: all clean
+.PHONY: all clean test