lib/appbundler/cli.rb in appbundler-0.10.0 vs lib/appbundler/cli.rb in appbundler-0.11.0

- old
+ new

@@ -18,10 +18,17 @@ Your bundled application must already be gem installed. Generated binstubs will point to the gem, not your working copy. BANNER + # this is used by chef-dk, its probably not an external API, here be dragons + option :without, + :long => "--without GROUPS", + :description => "Comma separated list of groups to exclude when building transitive Gemfile.locks (internal API)", + :proc => lambda { |o| o.split(/[\s,]+/) }, + :default => [] + option :version, :short => "-v", :long => "--version", :description => "Show appbundler version", :boolean => true, @@ -121,10 +128,11 @@ app = App.new(bundle_path, bin_path, g) created_stubs = app.write_executable_stubs created_stubs.each do |real_executable_path, stub_path| $stdout.puts "Generated binstub #{stub_path} => #{real_executable_path}" end - app.copy_bundler_env + created_lockfile = app.write_merged_lockfiles(without: config[:without]) + $stdout.puts "Generated merged lockfile at #{created_lockfile}" if created_lockfile end end def err(message) $stderr.print("#{message}\n")