Class: Hanamismith::Builders::Docker::Compose

Inherits:
Rubysmith::Builders::Abstract
  • Object
show all
Defined in:
lib/hanamismith/builders/docker/compose.rb

Overview

Builds Docker compose configuration.

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
15
16
17
# File 'lib/hanamismith/builders/docker/compose.rb', line 12

def call
  return false unless settings.build_docker

  builder.call(settings.with(template_path: "%project_name%/compose.yml.erb")).render
  true
end