Sha256: 31ee3450ca2706e4493711321112ec0c14f8311e1485839cc8a4fc3de01974f0

Contents?: true

Size: 575 Bytes

Versions: 11

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

require 'lino'

require_relative 'base'
require_relative 'mixins/profile'
require_relative 'mixins/environment'

module RubyLeiningen
  module Commands
    class Uberjar < Base
      include Mixins::Profile
      include Mixins::Environment

      def configure_command(builder, opts)
        builder = super(builder, opts)

        main_namespace = opts[:main_namespace]

        builder = builder.with_subcommand('uberjar')
        builder = builder.with_argument(main_namespace) if main_namespace
        builder
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby_leiningen-0.28.0.pre.5 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.28.0.pre.4 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.28.0.pre.3 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.28.0.pre.2 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.28.0.pre.1 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.27.0 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.26.0.pre.2 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.26.0.pre.1 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.25.0 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.24.0.pre.8 lib/ruby_leiningen/commands/uberjar.rb
ruby_leiningen-0.24.0.pre.7 lib/ruby_leiningen/commands/uberjar.rb