![Build status](https://github.com/bincrafters/bincrafters-conventions/workflows/conventions/badge.svg)
[![Codecov](https://codecov.io/gh/bincrafters/bincrafters-conventions/branch/main/graph/badge.svg)](https://codecov.io/gh/bincrafters/bincrafters-conventions)
[![Pypi Download](https://img.shields.io/badge/download-pypi-blue.svg)](https://pypi.python.org/pypi/bincrafters-conventions)
# 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
To install by pip is just one step
##### Local
If you want to install via a local git clone
pip install .
##### Remote
Or if you want to install a release version
pip install bincrafters_conventions
#### RUN
To update **ALL** Conan projects on GitHub https://github.com/bincrafters
$ bincrafters_conventions --remote=bincrafters
To update **ONLY** one project on GitHub https://github.com/bincrafters/conan-conversion
$ bincrafters_conventions --remote=bincrafters/conan-double-conversion
To **AVOID** to execute push command after to update
$ bincrafters_conventions --remote=bincrafters/conan-libusb --dry-run
To filter **PROJECTS** by pattern
$ bincrafters_conventions --remote=bincrafters --project-pattern bincrafters/conan-*
To filter **BRANCHES** by pattern
$ bincrafters_conventions --remote=bincrafters --branch-pattern stable/*
or
$ bincrafters_conventions --remote=bincrafters/conan-libzip --branch-pattern stable/*
To update and check **LOCAL** everything
$ bincrafters_conventions
To check **LOCAL** everything
$ bincrafters_conventions --check
To update a **LOCAL** file
$ bincrafters_conventions --travisfile=.travis.yml
To apply Conan conventions in a local file:
$ bincrafters_conventions --conanfile=conanfile.py
To update AppVeyor file:
$ bincrafters_conventions --appveryorfile=appveyor.yml
##### Testing and Development
To install extra packages required to test
pip install .[test]
#### TESTING
To run all unit test + code coverage, execute:
pip install .[test]
cd tests
pytest -v --cov=bincrafters_conventions
#### REQUIREMENTS and DEVELOPMENT
To develop or run bincrafters-conventions:
pip install --user -U .
bincrafters-conventions
#### LICENSE
[MIT](LICENSE.md)
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
bincrafters_conventions-0.30.3.tar.gz (49个子文件)
bincrafters_conventions-0.30.3
PKG-INFO 4KB
bincrafters_conventions
main.py 193B
requirements_test.txt 48B
bincrafters_conventions.py 26KB
__init__.py 0B
requirements.txt 62B
actions
check_for_deprecated_settings.py 742B
update_c_openssl_version_patch.py 2KB
update_c_remove_compiler_cppstd.py 764B
update_travis_import_to_fixed_commit.py 1KB
travis_1_expected_gha.yml 49B
check_for_required_attributes.py 1KB
update_a_python_environment_variable.py 396B
update_a_path_manipulation.py 447B
update_a_use_package_tools_auto.py 386B
update_c_default_options_to_dict.py 2KB
update_c_attributes.py 3KB
travis_2_expected_gha.yml 83B
update_gha.py 1KB
update_c_minimum_cmake_version_required.py 2KB
update_c_H046_no_verbose_cmake_file.py 672B
update_c_recipe_references.py 61KB
travis_2_expected.yml 137B
check_for_deprecated_methods.py 545B
__init__.py 1B
update_migrate_travis_to_import_and_gha.py 2KB
update_c_delete_meta_lines.py 1KB
update_c_deprecated_attributes.py 2KB
check_for_deprecated_generators.py 772B
travis_3_expected.yml 163B
check_for_download_hash.py 735B
check_for_license.py 454B
update_gha.yml 2KB
update_a_jobs.py 890B
travis_1_expected.yml 92B
update_c_tools_version.py 297B
update_readme_travis_url.py 312B
modules
jobs_update.py 13KB
__init__.py 1B
update_a_python_version.py 960B
setup.cfg 38B
bincrafters_conventions.egg-info
PKG-INFO 4KB
requires.txt 118B
SOURCES.txt 3KB
entry_points.txt 78B
top_level.txt 24B
dependency_links.txt 1B
setup.py 5KB
README.md 2KB
共 49 条
- 1
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0