Module: Dapp::Project::Command::Run

Included in:
Dapp::Project
Defined in:
lib/dapp/project/command/run.rb

Overview

Run

Instance Method Summary collapse

Instance Method Details

#run(docker_options, command) ⇒ Object

Raises:



8
9
10
11
# File 'lib/dapp/project/command/run.rb', line 8

def run(docker_options, command)
  raise Error::Project, code: :command_unexpected_apps_number unless build_configs.one?
  Application.new(config: build_configs.first, project: self, ignore_git_fetch: true, should_be_built: true).run(docker_options, command)
end