]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - Makefile
Makefile: move command to test target
[safcm/safcm.git] / Makefile
index 5549539245c535c6d0e92d7022ea531622a83e3a..17f12134ad9b492be50dd9499656428c95327db9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,11 @@ safcm:
        go fmt ./...
        cd cmd/safcm-remote && ./build.sh
        go build $(GOFLAGS) -ldflags $(LDFLAGS) ruderich.org/simon/safcm/cmd/safcm
-       @# For proper permissions after initial clone with a strict umask
-       cd cmd/safcm/testdata/project && ../../../../safcm fixperms 2> /dev/null
 
 test:
+       @# For proper permissions after initial clone with a strict umask
+       cd cmd/safcm/testdata/project && ../../../../safcm fixperms 2> /dev/null
+       @#
        ./cmd/safcm/testdata/ssh/prepare.sh
        go vet ./...
        go test $(GOFLAGS) ./...