-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning up after make coverage #15214
Comments
ssbrewster
changed the title
Cleaning up after make coverage
Cleaning up after Sep 6, 2017
make coverage
ssbrewster
changed the title
Cleaning up after
Cleaning up after make coverage
Sep 6, 2017
make coverage
mscdex
added
tools
Issues and PRs related to the tools directory.
discuss
Issues opened for discussions and feedbacks.
build
Issues and PRs related to build files or the CI.
labels
Sep 6, 2017
Either 1 or 3 would be nice, I think. And I wholeheartedly agree re: keeping |
Thanks @apapirovski. Yes I can understand the principle of |
@TimothyGu any thoughts about this? |
1 task
ssbrewster
added a commit
to ssbrewster/node
that referenced
this issue
Sep 19, 2017
Allow running make coverage with CLEAN=true so that the coverage reports can be generated and cleaned up afterwards (right now this is a workaround but with the drawback that this creates another make process Adjust coverage-clean so that it only removes the coverage/ dir if CLEAN=false otherwise leave it intact Update .gitignore to ignore the coverage/ dir Refs: https://github.com/nodejs/node/pull/15190/files#r136934721 Fixes: nodejs#15214
This was addressed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make coverage
has a number of side effects including downloading tools to generate the coverage and overwriting thelib/
directory;make coverage-clean
allows the user to clean these up.While working on #15190 I suggested passing an option to allow
make coverage
andmake coverage-clean
to be done in one run but leaving thecoverage/
dir intact (and adding it to.gitignore
. @TimothyGu agreed this could be good and welcomed a PR for it (and added the correct syntax for the command line option).I think there are a couple of options for how this could be done (plus leave as is) that would be great to get feedback on. I think the options are:
CLEAN=true
tomake coverage
that runscoverage-clean
aftercoverage-test
coverage-clean
aftercoverage-test
as default and allow the user to passNOCLEAN=true
orCLEAN=false
if they do not want the side-effects ofcoverage
removed.coverage-clean
aftercoverage
Both options 1 and 2 would leave the
coverage/
dir intact (so notrm -r
that directory duringcoverage-clean
as is done currently), and add that dir to.gitignore
. I'm happy for thecoverage/
dir to remain intact because I might want to keep referencing those files (as long as they are ignored by git) but do not want all the other side-effects showing up each time I rungit status
.Any feedback is really appreciated.
The text was updated successfully, but these errors were encountered: