GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: don't clean obj.target directory if it doesn't exist · nodejs/node@467ac3a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,10 @@ coverage-clean:
241241
$(RM) -r node_modules
242242
$(RM) -r gcovr
243243
$(RM) -r coverage/tmp
244-
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
245-
-type f -exec $(RM) {} \;
244+
@if [ -d "out/Release/obj.target" ]; then \
245+
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
246+
-type f -exec $(RM) {};\
247+
fi
246248

247249
.PHONY: coverage
248250
# Build and test with code coverage reporting. HTML coverage reports will be
@@ -266,7 +268,9 @@ coverage-build-js:
266268

267269
.PHONY: coverage-test
268270
coverage-test: coverage-build
269-
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {} \;
271+
@if [ -d "out/Release/obj.target" ]; then \
272+
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {}; \
273+
fi
270274
-NODE_V8_COVERAGE=coverage/tmp \
271275
TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)
272276
$(MAKE) coverage-report-js

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.