Skip to main content

A collection of scripts to build C++ projects

Project description

Unit tests Test coverage Coding style GitHub

Bob is my collection of build tools. The goal is to provide a simple interface to build and test projects without having to remember or lookup various commands.

For now, this project limits itself to C/C++ projects.

How to use

bob build

Other commands available are: * bootstrap: gather dependencies and toolchain(s) * configure: configure a build system. * install: install the package.

Requirements

  • Python 3.8+

  • git

Development

  1. Setup a virtual environment and activate it:

python3 -m venv .env_dev
. .env_dev/bin/activate
  1. Install locally:

pip install --editable .[dev]
  1. Test:

pytest

Run the complete test-suite

  1. Setup a virtual environment and activate it:

python -m venv .env_tox
. .env_tox/bin/activate
  1. Install locally:

pip install --editable .[tox]
  1. Test:

tox

Configured tools

  1. black for code formatting.

  2. ruff for linting.

  3. pylint for linting.

  4. mypy for static type checking.

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

bob-the-developer-0.2.5.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

bob_the_developer-0.2.5-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file bob-the-developer-0.2.5.tar.gz.

File metadata

  • Download URL: bob-the-developer-0.2.5.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for bob-the-developer-0.2.5.tar.gz
Algorithm Hash digest
SHA256 2519eca0228c95272bac346ed8a84067b79cf24d5ac2fa7a1a2d4ef064745e72
MD5 a2c54d521607e25f08524af3131a03b0
BLAKE2b-256 06a9eb936c6c96bf5a24a0d21fd6cca2f1212a6ae5af1a02d8a87da6af15e4c9

See more details on using hashes here.

File details

Details for the file bob_the_developer-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for bob_the_developer-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d64fcf4fceba6ddc8ef95cb622d84c220ca511244d8fe36e403594bd79fbf170
MD5 f6583d36ffcde7165224f541e28c3c2d
BLAKE2b-256 730a1686bd23e44ecb46fa371301ca99431e461e8b5cffa2cd5f89f5482eba62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page