Class: Slugforge::Build::ExportUpstart
- Inherits:
-
Slugforge::BuildCommand
- Object
- Thor
- Command
- Slugforge::BuildCommand
- Slugforge::Build::ExportUpstart
- Defined in:
- lib/slugforge/build/export_upstart.rb
Instance Method Summary collapse
Methods inherited from Slugforge::BuildCommand
Methods inherited from Command
Methods included from Helper
Constructor Details
This class inherits a constructor from Slugforge::Command
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/slugforge/build/export_upstart.rb', line 5 def call unless File.exist?(procfile_path) logger.say_status :missing, 'foreman Procfile', :yellow return false end logger.say_status :execute, 'preprocessing foreman templates' preprocess_templates end |