Skip to content

Fix dotnet build of a clean repo #434

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

Merged
merged 2 commits into from
May 28, 2019

Conversation

AArnott
Copy link
Contributor

@AArnott AArnott commented May 27, 2019

For a perfectly clean repo (git clean -fdx), dotnet build fails because some tests require that other projects have been built using build.proj first.

This change adds the necessary build ordering instructions so that the build tasks are always built before the tests that need them, and the tests are always run against the latest source code being tested rather than the last version that happened to be built with build.proj.

AArnott added 2 commits May 26, 2019 21:18
For a perfectly clean repo (git clean -fdx), `dotnet build` fails because some tests require that other projects have been built using build.proj first.

This change adds the necessary build ordering instructions so that the build tasks are always built before the tests that need them, and the tests are always run against the *latest* source code being tested rather than the last version that happened to be built with build.proj.
Copy link
Collaborator

@MarcoRossignoli MarcoRossignoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thank's @AArnott all good cleanup to me(this and other PRs)

@MarcoRossignoli MarcoRossignoli requested a review from tonerdo May 27, 2019 10:40
@tonerdo tonerdo merged commit 3570fc9 into coverlet-coverage:master May 28, 2019
@AArnott AArnott deleted the incrementalbuild branch May 28, 2019 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants