Class: Dockly::DockerCommand

Inherits:
AbstractCommand show all
Defined in:
lib/dockly/cli.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



60
61
62
63
64
65
66
67
68
69
# File 'lib/dockly/cli.rb', line 60

def execute
  super
  if Dockly.dockers[docker_name.to_sym]
    if noexport?
      Rake::Task["dockly:docker:prepare"].invoke(docker_name)
    else
      Rake::Task["dockly:docker:build"].invoke(docker_name)
    end
  end
end