lib/autoproj/cli/build.rb in autoproj-2.0.3 vs lib/autoproj/cli/build.rb in autoproj-2.1.0.rc1
- old
+ new
@@ -6,10 +6,14 @@
class Build < Update
def validate_options(selected_packages, options)
selected_packages, options =
super(selected_packages, options.merge(
checkout_only: true, aup: options[:amake]))
+
+ if options[:no_deps_shortcut]
+ options[:deps] = false
+ end
if options[:deps].nil?
options[:deps] =
!(options[:rebuild] || options[:force])
end
return selected_packages, options
@@ -68,9 +72,11 @@
end
Autobuild.do_build = true
ops.build_packages(source_packages, parallel: parallel)
Autobuild.apply(source_packages, "autoproj-build", ['install'])
+ ensure
+ export_env_sh
end
end
end
end