Sha256: 9fc6bf0ee9747f1834c40fafd164ee58fb7446bb71b853f47279344d115373e4

Contents?: true

Size: 910 Bytes

Versions: 9

Compression:

Stored size: 910 Bytes

Contents

#!/usr/bin/env ruby
if ARGV[0] == 'help'

  # ensure we use the right version
  gem 'ruby-maven', '>=3.3.3'

  require 'jbundler/cli'

  JBundler::Cli.start

else

  if ARGV == [] || ARGV.all?{ |a| a.match( /^-/ ) }
    ARGV.unshift 'install'
  end

  if ARGV[0] == 'console'
    # ensure we use the right version
    gem 'ruby-maven', '>=3.3.3'

    require 'irb'
    require 'jbundler'
    require 'jbundler/lazy'
    include JBundler::Lazy

    ARGV.shift
    require 'jbundler'
    if defined? JBUNDLER_CLASSPATH
      warn 'Jarfile dependencies loaded'
    else
      warn 'Could not locate a Jarfile'
    end

    if defined? JBUNDLER_CLASSPATH
      warn 'Jarfile dependencies loaded'
    else
      warn 'Could not locate a Jarfile'
    end

    IRB.start

  else
    # ensure we use the right version
    gem 'ruby-maven', '>=3.3.3'
    
    require 'jbundler/cli'
    JBundler::Cli.start
  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
jruby-bundler-0.9.7 bin/jbundle
jruby-bundler-0.9.6 bin/jbundle
jruby-bundler-0.9.5 bin/jbundle
jbundler-0.9.4 bin/jbundle
jbundler-0.9.3 bin/jbundle
jbundler-0.9.2 bin/jbundle
jbundler-0.9.1 bin/jbundle
jbundler-0.9.0 bin/jbundle
jbundler-0.8.0 bin/jbundle