Skip to main content

Bincrafters script to apply Conan conventions and update CI jobs

Project description

Build status Codecov Pypi Download

Bincrafters Conventions

A Script to update Conan projects following Conan conventions

This project contains scripts to update CI files, to update Conan conventions in general and to perform some linting.

INSTALL

You can install bincrafters-conventions via pip like this:

$ pip install bincrafters_conventions

RUN

💡 Bincrafters Conventions is a command line tool.

Execute bincrafters-conventions --help to see all options.

bincrafters-conventions has also the alias bcon for convince.

EXAMPLES

To update ALL Conan projects on GitHub for https://github.com/bincrafters

$ bcon --remote=bincrafters

To update ONLY one project on GitHub https://github.com/bincrafters/conan-conversion

$ bcon --remote=bincrafters/conan-double-conversion

To AVOID to execute push command after to update

$ bcon --remote=bincrafters/conan-libusb --dry-run

To filter PROJECTS by pattern

$ bcon --remote=bincrafters --project-pattern bincrafters/conan-*

To filter BRANCHES by pattern

$ bcon --remote=bincrafters --branch-pattern stable/*

or

$ bcon --remote=bincrafters/conan-libzip --branch-pattern stable/*

To update and check LOCAL everything

$ bcon

To check LOCAL everything

$ bcon --check

To apply Conan conventions in a local file:

$ bcon --conanfile=conanfile.py

To update AppVeyor file:

$ bcon --appveryorfile=appveyor.yml

Testing and Development

If you want to install bincrafters-conventions via a local git clone

pip install --user -U .

To install extra packages required to test

pip install .[test]

To run all unit test + code coverage, execute:

cd tests
pytest -v --cov=bincrafters_conventions

LICENSE

MIT

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

bincrafters_conventions-1.1.1.tar.gz (33.5 kB view hashes)

Uploaded Source

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