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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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