Class: Slugforge::Build::ExportUpstart

Inherits:
Slugforge::BuildCommand show all
Defined in:
lib/slugforge/build/export_upstart.rb

Instance Method Summary collapse

Methods inherited from Slugforge::BuildCommand

inherited

Methods inherited from Command

#initialize, start

Methods included from Helper

included

Constructor Details

This class inherits a constructor from Slugforge::Command

Instance Method Details

#callObject



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