Sha256: 8350ab69b213665b73bf5cecddfb2456ef1cd4fc091c5b01493729fbac733e3d

Contents?: true

Size: 539 Bytes

Versions: 11

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

require 'lino'

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

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

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

        level = opts[:level]

        builder = builder.with_subcommand('release')
        builder = builder.with_argument(level) if level
        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/release.rb
ruby_leiningen-0.28.0.pre.4 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.28.0.pre.3 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.28.0.pre.2 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.28.0.pre.1 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.27.0 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.26.0.pre.2 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.26.0.pre.1 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.25.0 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.24.0.pre.8 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.24.0.pre.7 lib/ruby_leiningen/commands/release.rb