X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Makefile;h=4bf77c25414480744a3747898e44fa803c83dba0;hb=cd7436284aa538d6a8a83811a33b3a3cc32d87a3;hp=17f12134ad9b492be50dd9499656428c95327db9;hpb=06e94a0f798e8c3e231ebe01ae85ec1337505ac8;p=safcm%2Fsafcm.git diff --git a/Makefile b/Makefile index 17f1213..4bf77c2 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,13 @@ 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 -rf cmd/safcm/remote/ rm -f safcm rm -f cmd/safcm/testdata/ssh/ssh/authorized_keys rm -f cmd/safcm/testdata/ssh/ssh/id_ed25519 @@ -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