Skip to content

Commit

Permalink
Merge pull request #3135 from msarahan/strict-verify-arg
Browse files Browse the repository at this point in the history
add a CLI flag to allow erroring out when conda-verify fails a pkg
  • Loading branch information
msarahan authored Sep 13, 2018
2 parents 480a4df + 3bf5181 commit 3f3a9cb
Showing 1 changed file with 15 additions and 1 deletion.
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

0 comments on commit 3f3a9cb

Please sign in to comment.