Sha256: b7824229f9bbe2b0c7a9f023881abb5352e6d18c4c4ef0a2d3a6d7fe73bd5ead

Contents?: true

Size: 532 Bytes

Versions: 5

Compression:

Stored size: 532 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(initial_builder, opts)
        builder = super

        level = opts[:level]

        builder = builder.with_subcommand('release')
        builder = builder.with_argument(level) if level
        builder
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_leiningen-0.30.0.pre.2 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.30.0.pre.1 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.29.0 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.28.0.pre.7 lib/ruby_leiningen/commands/release.rb
ruby_leiningen-0.28.0.pre.6 lib/ruby_leiningen/commands/release.rb