The bodger tool is a very simple wrapper that reads a config, matches grainss, and determines what command to run, and runs it. This makes it easy to set what commands to run for test, build, docs etc in a CI/CD pipeline. You can kind of think of it like a platform specific Make command with a better config.
Config
The default config is “bodger.conf” and should be located inside of the root of a project.
This config looks like this:
bodger:
test:
kernel:Linux: pytest
pkg:
os:Arch: pop-build -c build.conf --pkg-tgt Arch
os_family:RedHat: pop-build -c build.conf --pkg-tgt rhel7
bin:
kernel:Linux: pop-build -c build.conf
Then the system can by run by calling bodger <cmd>:
bodger test bodger pkg bodger bin
Metadata
Release files for bodger 2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bodger-2.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bodger-2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / bodger-2.tar.gz
| Download URL | bodger-2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dc0c3eef4b0985713fb396cbc2392372bc46cf95e5e0073d2966aa794d2e60b
|
|
BLAKE2b-256 checksum How to use checksums |
c95958a7ee248cdc471826e99c991ae567f8ef26cd20283ebe1748719ad58f79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / bodger-2-py3-none-any.whl
| Download URL | bodger-2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9acfd88ee02bb6c9c946da5aacdaaf8f467807d1eeb9f3395a787cc092dfa9f
|
|
BLAKE2b-256 checksum How to use checksums |
9eebc9dce9c1eb5b9c8f50776e04d6b0788fa24d9b8fed80db3ccfa4359ba48d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|