Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Update check-deps with check-only option#28

Open
greggdonovan wants to merge 2 commits intobazelbuild:masterfrom
greggdonovan:update_check_deps
Open

Update check-deps with check-only option#28
greggdonovan wants to merge 2 commits intobazelbuild:masterfrom
greggdonovan:update_check_deps

Conversation

@greggdonovan
Copy link
Member

The check-only option has been created by @kevingessner but autovalue support is still open.


# Fail if the generated files don't match what's committed.
if ! diff -u <(echo "$BEFORE") <(echo "$AFTER")
if ! "$BAZEL_DEPS_DIR/gen_maven_deps.sh" generate --check-only --buildifier buildifier --repo-root "${ROOT_DIR}" --sha-file thirdparty/workspace.bzl --deps maven_deps.yaml

Choose a reason for hiding this comment

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

You can should use --buildifier in setup.sh as well for consistency

Copy link
Member Author

Choose a reason for hiding this comment

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

Right! I have that in #27.

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