Skip to content

Conversation

@zhangkun83
Copy link
Contributor

Previously generated files were deleted at configuration time. Running
non-build tasks such as clean or tasks would delete the
generated files and tracked by git, which is annoying. Now we delete
them only before the generateProto task, which solves the problem.

After this change, the case that generateProto is not executed at
all, is no longer covered. However, it is much less likely than the
still-covered case that generateProto is not re-generating all files
due to misconfiguration.

Addresses #387#issuecomment-102220365

@ejona86 please review

Previously generated files were deleted at configuration time. Running
non-build tasks such as ``clean`` or ``tasks`` would delete the
generated files and tracked by git, which is annoying. Now we delete
them only before the ``generateProto`` task, which solves the problem.

After this change, the case that ``generateProto`` is not executed at
all, is no longer covered. However, it is much less likely than the
still-covered case that ``generateProto`` is not re-generating all files
due to misconfiguration.
@ejona86
Copy link
Member

ejona86 commented May 15, 2015

@zhangkun83 LGTM. Thanks! This will be nice.

@zhangkun83 zhangkun83 merged commit 568d25d into grpc:master May 15, 2015
@zhangkun83 zhangkun83 deleted the gradle_clean branch May 15, 2015 18:00
@lock lock bot locked as resolved and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants