Class: RubyLeiningen::Commands::Run
- Includes:
- Mixins::Environment, Mixins::Profile
- Defined in:
- lib/ruby_leiningen/commands/run.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#configure_command(initial_builder, opts) ⇒ Object
rubocop:disable Style/RedundantAssignment.
Methods included from Mixins::Environment
Methods included from Mixins::Profile
Methods inherited from Base
#execute, #initialize, #stderr, #stdin, #stdout
Instance Method Details
#configure_command(initial_builder, opts) ⇒ Object
rubocop:disable Style/RedundantAssignment
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/ruby_leiningen/commands/run.rb', line 16 def configure_command(initial_builder, opts) builder = super builder = builder.with_subcommand('run') do |sub| sub = with_main_function(sub, opts[:main_function]) sub = with_quote_arguments(sub, opts[:quote_arguments]) sub end builder = with_arguments(builder, opts[:arguments]) builder end |