Skip to content

Commit

Permalink
Makefile: Fix broken integration target on macOS. (#86)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
bjoernalbers authored Feb 9, 2024
1 parent 31803b5 commit 5113d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5113d2e

Please sign in to comment.