Check for local file updates #1467
Unanswered
awesomescot
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Generate a temporary project elsewhere and compare the files that should not change? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I'm trying to write a script for our CI system that will check to see if any templated files have been modified. In our repo we have some files that we are trying to template, but I'm sure other developers will try to modify them directly. I want to have a test that will fail if any files have been modified from their templated form. We are using a directory as the template source, so we can't use any git fanciness for this.
Basically I just want to run
copier copy
and instead of asking to update files that are different, just exit with a nonzero exit code.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions