Class: Dockly::BuildCommand
- Inherits:
-
AbstractCommand
- Object
- Clamp::Command
- AbstractCommand
- Dockly::BuildCommand
- Defined in:
- lib/dockly/cli.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/dockly/cli.rb', line 21 def execute super if package = Dockly.debs[package_name.to_sym] if force? || !package.exists? package.build else puts "Package already exists!" end end end |