Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrheinen/bazelbub.nvim
A simple neovim plugin to run bazel test and bazel build
https://github.com/mrheinen/bazelbub.nvim
bazel development ide neovim
Last synced: 3 days ago
JSON representation
A simple neovim plugin to run bazel test and bazel build
- Host: GitHub
- URL: https://github.com/mrheinen/bazelbub.nvim
- Owner: mrheinen
- License: bsd-2-clause
- Created: 2024-07-24T17:51:36.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T15:12:34.000Z (7 months ago)
- Last Synced: 2024-08-01T09:21:20.142Z (7 months ago)
- Topics: bazel, development, ide, neovim
- Language: Lua
- Homepage:
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bazelbub.nvim
A simple neovim plugin to run bazel test and bazel build
# Installation
## Using lazy.nvimUse the following snippet but update the version to the latest release.
```
{
'mrheinen/bazelbub.nvim',
version = "v0.2"
}
```## Using packer.nvim
Similar to above; use this snippet and update the tag to the latest release.
```
use {
'mrheinen/bazelbub.nvim',
tag = 'v0.2',
}
```# Description
This is a very simple plugin for those who develop with
[bazel](https://bazel.build/). The plugin allows you to run tests and build for
the dependencies of the file you are editing.At the moment it beats having to go from neovim to a seperate terminal to run
bazel but there is room for improvement.## Running tests
Using `:BazelTest` you can run "bazel test" against all test dependencies of the
current file you are editing. If you want to check what these targets are then
first run `:BazelShowTestTargets`## Building
Using `:BazelBuild` you can run "bazel build" against all dependencies of the
current file. To inspect what the targets are you can use `:BazelShowBuildTargets`## Runing gazelle
Using `:BazelGazelle` you can run "bazel run //:gazelle" to update your BUILD
files. Additionally you can use `:BazelGazelleUpdate` to update your
dependencies.