From 5113d2e0c27b75bddd8b92bfab6383d65bd16037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Albers?= Date: Fri, 9 Feb 2024 09:16:07 +0100 Subject: [PATCH] Makefile: Fix broken integration target on macOS. (#86) The integration tests were broken on macOS: $ make integration rm: .coverdata: No such file or directory rm: -fr: No such file or directory make: *** [build-with-cover] Error 1 `rm` on macOS requires that the options must be given before the argument(s). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a293c4e..19b2fbe 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ build-debug-image: docker build -t fakedata . build-with-cover: ## Build a cover version of fakedata - @rm .coverdata -fr + @rm -fr .coverdata @mkdir .coverdata @go build -cover -o ./fakedata-with-cover