A wrapper for the Bazel build system that provides a curses GUI for persistent configuration.
Project description
Baz
A wrapper for bazel with a GUI for configuring arguments. Running baz -q
opens a configuration gui where you can set persistent bazel settings by choosing from detected .bazelrc
configs, and other bazel flags.
Baz stores persistent information in ~/.config/baz/
. A unique config for each directory is generated and separate settings can be configured for multiple repositories. You can delete your configuration and start over at any time with baz -d
.
Add baz to your path and use baz as you would use bazel.
Installation
Pypi
python3 -m pip install baz --user
If you haven't already, make sure scripts from your user site are accesible from PATH.
import site
site.USER_BASE # Prints something like `/home/username/.local/`
Take this path, and add to your ~/.bashrc
as: export PATH='$PATH:/home/username/.local/bin/
Usage
baz --help
usage: baz.py [-h] [-e] [-p] [-q] [-d]
optional arguments:
-h, --help show this help message and exit
-e, --emit-build-script
Emit a shell script to containing the raw Bazel build command, rather than executing it. This is useful for exporting vanilla Bazel build commands to people who do not have baz.
-p, --print-build-settings
Prints the build settings configured for Baz.
-q, --configure Run the Baz configuration TUI.
-d, --delete-configuration
Permenently delete the persistent configuration file.
Testing
Unit tests can be run with nosetests
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file baz-0.2.6.tar.gz
.
File metadata
- Download URL: baz-0.2.6.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119603494f27cae26374e3b476872bad5cb09c67967e3878dfd331a49942512d |
|
MD5 | efb913c7f0810988633e19d24aef8a20 |
|
BLAKE2b-256 | 20cd48ec1a14ba40ed6ba35d882aafc66cc9d94b0dab39e2a288336787a1535b |
File details
Details for the file baz-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: baz-0.2.6-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c7958b3084b6c3ebc50098ac1d21d4d0cb8a0efd8f35d8c65aac3086a5a7fbd |
|
MD5 | 8bc5738524d1edec03d31c3541a41e7d |
|
BLAKE2b-256 | 8af007a998c2c724b9d3cdbf94f4acbba0f799c64bdfa9d89f2600f2362a983c |