mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
- support --target argument for "osc build"
This commit is contained in:
@@ -414,6 +414,8 @@ def main(apiurl, opts, argv):
|
||||
buildargs.append('--changelog')
|
||||
if opts.root:
|
||||
build_root = opts.root
|
||||
if opts.target:
|
||||
buildargs.append('--target=%s' % opts.target)
|
||||
if opts.jobs:
|
||||
buildargs.append('--jobs=%s' % opts.jobs)
|
||||
elif config['build-jobs'] > 1:
|
||||
|
Reference in New Issue
Block a user