Skip to content

Commit

Permalink
Introduce build --checks parameter
Browse files Browse the repository at this point in the history
Added in build script
  • Loading branch information
adrianschroeter committed Jul 9, 2024
1 parent 21c9828 commit 7f756a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,8 @@ def main(apiurl, store, opts, argv):
buildargs.append('--norootforbuild')
if opts.clean:
buildargs.append('--clean')
if opts.checks:
buildargs.append('--checks')
if opts.nochecks:
buildargs.append('--no-checks')
if not opts.no_changelog:
Expand Down
2 changes: 2 additions & 0 deletions osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7170,6 +7170,8 @@ def parse_repoarchdescr(self, args, noinit=False, alternative_project=None, igno
help='Copy overlay filesystem to buildroot after installing all RPMs .')
@cmdln.option('--noinit', '--no-init', action='store_true',
help='Skip initialization of build root and start with build immediately.')
@cmdln.option('--checks', action='store_true',
help='Explicit run checks, if disabled in build config')
@cmdln.option('--nochecks', '--no-checks', action='store_true',
help='Do not run build checks on the resulting packages.')
@cmdln.option('--no-verify', '--noverify', action='store_true',
Expand Down

0 comments on commit 7f756a8

Please sign in to comment.