Sha256: 2781a359ca716153d4cc5cb8283af26fef86aa481e15e7f7d4d1e2f717dbfece
Contents?: true
Size: 617 Bytes
Versions: 14
Compression:
Stored size: 617 Bytes
Contents
module RubyLeiningen module Commands module Mixins module Profile def initialize(opts={}) super(opts) @profile = opts[:profile] end def for_profile(profile) @profile = profile self end def configure_command(builder, opts) builder = super(builder, opts) profile = opts[:profile] || @profile if profile builder = builder .with_subcommand('with-profile') .with_subcommand(profile) end builder end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems