Skip to content

Commit

Permalink
fixup! build: don't clean obj.target directory if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Aug 19, 2024
1 parent b7221e7 commit f0cbf62
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ coverage-clean:
$(RM) -r node_modules
$(RM) -r gcovr
$(RM) -r coverage/tmp
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
-type f -exec $(RM) {} \;
@if [ -d "out/Release/obj.target" ]; then \
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
-type f -exec $(RM) {};\
fi

.PHONY: coverage
# Build and test with code coverage reporting. HTML coverage reports will be
Expand Down

0 comments on commit f0cbf62

Please sign in to comment.