Sha256: 4f085de66d48c158de10babd88b54e6b494622eb8a0706df1dad664dcb433f3e
Contents?: true
Size: 576 Bytes
Versions: 15
Compression:
Stored size: 576 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) 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
15 entries across 15 versions & 1 rubygems