]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - Makefile
sync: replace log.Logger interface with struct
[safcm/safcm.git] / Makefile
index 17f12134ad9b492be50dd9499656428c95327db9..fa2db0bbd326f4a4f3da2dfc9e3ef8b531460a41 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,11 @@ test:
        go vet ./...
        go test $(GOFLAGS) ./...
 
+lint:
+       shellcheck ci/run
+       shellcheck cmd/safcm-remote/build.sh
+       shellcheck cmd/safcm/testdata/ssh/prepare.sh
+
 clean:
        rm -rf remote/helpers/
        rm -f safcm
@@ -30,5 +35,6 @@ clean:
        rm -f cmd/safcm/testdata/ssh/ssh/known_hosts
        rm -f cmd/safcm/testdata/ssh/sshd/ssh_host_key
        rm -f cmd/safcm/testdata/ssh/sshd/ssh_host_key.pub
+       rm -rf cmd/safcm/testdata/ssh/project/no-changes.example.org/
 
 .PHONY: all test clean safcm