Class: Dockly::BuildRpmCommand
- Inherits:
-
AbstractCommand
- Object
- Clamp::Command
- AbstractCommand
- Dockly::BuildRpmCommand
- Defined in:
- lib/dockly/cli.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
44 45 46 47 48 49 50 51 52 53 |
# File 'lib/dockly/cli.rb', line 44 def execute super if Dockly.rpms[package_name.to_sym] if noexport? Rake::Task["dockly:rpm:prepare"].invoke(package_name) else Rake::Task["dockly:rpm:build"].invoke(package_name) end end end |