lib/autoproj/cli/main.rb in autoproj-2.1.2 vs lib/autoproj/cli/main.rb in autoproj-2.2.0

- old
+ new

@@ -126,10 +126,12 @@ desc: "force the importer's retry count to this value" option :parallel, aliases: :p, type: :numeric, desc: 'maximum number of parallel jobs' option :mainline, type: :string, desc: "compare to the given baseline. if 'true', the comparison will ignore any override, otherwise it will take into account overrides only up to the given package set" + option :auto_exclude, type: :boolean, + desc: 'if true, packages that fail to import will be excluded from the build' def update(*packages) run_autoproj_cli(:update, :Update, Hash[silent: false], *packages) end desc 'build [PACKAGES]', 'build packages' @@ -155,10 +157,11 @@ EOD option :no_deps_shortcut, hide: true, aliases: '-n', type: :boolean, desc: 'provide -n for --no-deps' option :parallel, aliases: :p, type: :numeric, desc: 'maximum number of parallel jobs' - + option :auto_exclude, type: :boolean, + desc: 'if true, packages that fail to import will be excluded from the build' def build(*packages) run_autoproj_cli(:build, :Build, Hash[silent: false], *packages) end desc 'cache CACHE_DIR', 'create or update a cache directory that can be given to AUTOBUILD_CACHE_DIR'