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

[Bazel] Adding Bazel startup options #17183

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

franramirez688
Copy link
Contributor

Changelog: Fix: Adding the startup options to each Bazel command.
Closes: #17101
Docs: omit

@franramirez688 franramirez688 marked this pull request as ready for review October 18, 2024 10:55
@@ -77,4 +79,4 @@ def test(self, target=None):
"""
if self._conanfile.conf.get("tools.build:skip_test", check_type=bool) or target is None:
return
self._safe_run_command(f'bazel test {target}')
self._safe_run_command(f"{self._bazel_base_command} test {target}")
Copy link
Contributor

@czoido czoido Oct 28, 2024

Choose a reason for hiding this comment

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

I think this would be cleaner if it was something like:

self._safe_run_command(f"bazel {self._get_startup_command_options()} test {target}")

And the same for build and clean

@czoido czoido merged commit 3cf4536 into conan-io:develop2 Oct 28, 2024
2 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.

[bug] Bazel server needs to be killed
3 participants