Skip to content
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

Run T4 templates if targets are out-of-date #953

Merged
merged 1 commit into from
Jan 29, 2023

Conversation

atifaziz
Copy link
Member

This PR restores some of PR #776 to re-integrate dotnet t4 invocation from the project, but taking advantage of conditional execution of targets only if the outputs are out-of-date with respect to inputs.

During the CI builds, the templates are touched to update their timestamps and force execution of the templates to later validate that generated code is fresh.

@atifaziz atifaziz self-assigned this Jan 29, 2023
@codecov
Copy link

codecov bot commented Jan 29, 2023

Codecov Report

Merging #953 (51f58c9) into master (dec51ec) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #953   +/-   ##
=======================================
  Coverage   92.43%   92.43%           
=======================================
  Files         113      113           
  Lines        3451     3451           
  Branches     1025     1025           
=======================================
  Hits         3190     3190           
  Misses        196      196           
  Partials       65       65           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atifaziz atifaziz merged commit 0f7f749 into morelinq:master Jan 29, 2023
@atifaziz atifaziz deleted the conditional-t4-build branch January 29, 2023 15:14
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.

1 participant