Module: Dapp::Dimg::Dapp::Command::Build

Included in:
Dapp
Defined in:
lib/dapp/dimg/dapp/command/build.rb

Instance Method Summary collapse

Instance Method Details

#buildObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/dapp/dimg/dapp/command/build.rb', line 6

def build
  build_configs.each do |config|
    log_dimg_name_with_indent(config) do
      dimg(config: config).build!
    end
  end
rescue ::Dapp::Error::Shellout, Error::Default
  build_context_export unless options[:build_context_directory].nil?
  raise
end