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

feat: Add option to pass args to diff command in diff_test on Linux. #1032

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

Conversation

r0bobo
Copy link

@r0bobo r0bobo commented Jan 17, 2025

This makes it possible to pass extra arguments to the diff command that is run in a diff_test().

When running bazel run @@//docs:update I get a diff in all documents to add example load() statements. This was added in stardoc 0.7.0. I'm not sure how it is leaking in to my local environment. 🤔

@alexeagle
Copy link
Collaborator

I hit that problem today - the workaround was BAZELISK_BASE_URL= USE_BAZEL_VERSION=7.x bazel run docs:update

@r0bobo r0bobo force-pushed the diff_test_pass_extra_args branch from cd7fa81 to 260b253 Compare January 25, 2025 05:03
@r0bobo r0bobo force-pushed the diff_test_pass_extra_args branch from 260b253 to 50ec9e0 Compare January 25, 2025 05:13
@r0bobo
Copy link
Author

r0bobo commented Jan 25, 2025

I hit that problem today - the workaround was BAZELISK_BASE_URL= USE_BAZEL_VERSION=7.x bazel run docs:update

Thanks! That was it.

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.

2 participants