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/MacOS #1032

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

r0bobo
Copy link
Contributor

@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
Contributor 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.

@alexeagle alexeagle changed the title feat: Add option to pass args to diff command in diff_test on Linux. feat: Add option to pass args to diff command in diff_test on Linux/MacOS Jan 29, 2025
@alexeagle alexeagle merged commit 63c1f4d into bazel-contrib:main Jan 29, 2025
31 checks passed
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