-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add a check
function to gen_maven_deps.sh to verify that generated files match what's expected from the Yaml
#85
Comments
This is a good idea. It shouldn't be too hard since we don't actually have to parse the files, just diff them. |
I'm going to take a stab at this. |
kevingessner
added a commit
to kevingessner/bazel-deps
that referenced
this issue
Oct 16, 2017
If present, this flag causes the generate command to resolve all dependencies as usual, but does not write the files. Instead, it checks that each generated file on disk has the expected content. If any files do not match the expected content, they are logged and bazel-deps exits with code 2; bazel-deps exits 0 if everything matches.
kevingessner
added a commit
to kevingessner/bazel-deps
that referenced
this issue
Oct 17, 2017
If present, this flag causes the generate command to resolve all dependencies as usual, but does not write the files. Instead, it checks that each generated file on disk has the expected content. If any files do not match the expected content, they are logged and bazel-deps exits with code 2; bazel-deps exits 0 if everything matches.
kevingessner
added a commit
to kevingessner/bazel-deps
that referenced
this issue
Oct 17, 2017
If present, this flag causes the generate command to resolve all dependencies as usual, but does not write the files. Instead, it checks that each generated file on disk has the expected content. If any files do not match the expected content, they are logged and bazel-deps exits with code 2; bazel-deps exits 0 if everything matches.
greggdonovan
added a commit
to greggdonovan/BUILD_file_generator
that referenced
this issue
Oct 31, 2017
… but bazeltools/bazel-deps#62 is still open.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See discussion here.
We run
check-deps.sh
in CI to make sure that the yaml and generated files are in sync. It'd be nice to move the logic of the check into bazel-deps.The text was updated successfully, but these errors were encountered: