Sha256: c229b10a2906f4c75dc403e1336536ec2e9a09efb3d9e0c97da5aa45b1a4dbb1
Contents?: true
Size: 573 Bytes
Versions: 3
Compression:
Stored size: 573 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
3 entries across 3 versions & 1 rubygems