Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a CLI flag to allow erroring out when conda-verify fails a pkg #3135

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion conda_build/cli/main_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,22 @@ def parse_args(args):
p.add_argument(
"--verify",
action="store_true",
help="run verification on recipes or packages when building",
default=cc_conda_build.get('verify', 'true').lower() == 'true',
)
p.add_argument(
"--no-verify",
action="store_false",
dest="verify",
help="do not run verification on recipes or packages when building",
default=cc_conda_build.get('verify', 'false').lower() == 'true',
default=cc_conda_build.get('verify', 'true').lower() == 'true',
)
p.add_argument(
"--strict-verify",
action="store_true",
dest="exit_on_verify_error",
help="Exit if any conda-verify check fail, instead of only printing them",
default=cc_conda_build.get('exit_on_verify_error', 'false').lower() == 'true',
)
p.add_argument(
"--output-folder",
Expand Down