-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Build all targets inside a package #72
Comments
fyi - |
Yeah. I use the query though to see the targets prior building and saving them to a file(smth like a dry-run). But I think it would be nice to add a feature on Bazel Build Targets to run all targets under a specific package in the extension. |
- Add context command to the treeview on the packages to do build and testing of the package or the package resursively (:all vs /...). - Includes a quickpick for generally using the command and selecting a package. Mostly addresses #72, the limitation being the current UI doesn't really every provide the "root" (the directory opened in VS Code) as a package, it just shows the sub packages.
Now that we have the right click on the packages in the tree view, we could also change the treeview code to always show the opened directory node even when only one directory is open in VS Code, that catch is that directory might not have a BUILD file (it could be some random place within the overall bazel workspace). So building |
Bazel build //target/... will build all targets in the package which is what i originally meant and use.. thumbs up! Will this be released any time soon? |
The 0.2.0 release in May should have had it. |
Closing because this was released in 0.2.0. |
It does not seem to be possible to build |
Please open a new issue specific to the whole WORKSPACE cases. |
ATM, all targets are being loaded in the view (Bazel build targets). Every time i want to run all the targets inside a package i have to write the 1 liner for loop in bash to build all targets read from $(bazel query //...). It would be good option to add to this view.
The text was updated successfully, but these errors were encountered: