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

Update check-deps with check-only option #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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