lib/jbundler/cli.rb in jbundler-0.6.4 vs lib/jbundler/cli.rb in jbundler-0.7.0
- old
+ new
@@ -87,15 +87,19 @@
method_option :jobs, :type => :string
method_option :retry, :type => :string
method_option :no_cache, :type => :boolean
method_option :quiet, :type => :boolean
def install
- JBundler::LockDown.new( config ).lock_down( options[ :vendor ],
- options[ :debug ] ,
- options[ :verbose ] )
+ msg = JBundler::LockDown.new( config ).lock_down( options[ :vendor ],
+ options[ :debug ] ,
+ options[ :verbose ] )
config.verbose = ! options[ :quiet ]
Show.new( config ).show_classpath
- puts 'jbundle complete' unless options[ :quiet ]
+ unless options[ :quiet ]
+ puts 'jbundle complete !'
+ puts
+ end
+ puts msg if msg
end
desc 'executable', 'create an executable jar with a given bootstrap.rb file\nLIMITATION: only for jruby 1.6.x and newer'
method_option :bootstrap, :type => :string, :aliases => '-b', :required => true, :desc => 'file which will be executed when the jar gets executed'
method_option :compile, :type => :boolean, :aliases => '-c', :default => false, :desc => 'compile the ruby files from the lib directory'