lib/liberty_buildpack/buildpack.rb
def release
      @logger.debug { 'Liberty Buildpack starting release' }
      the_container = container # diagnose detect failure early
      @jre.release
      frameworks.each(&:release)
      command = the_container.release

      payload = {
        'addons' => [],
        'config_vars' => {},
        'default_process_types' => {
          'web' => command
        }
      }.to_yaml

      @logger.debug { "Liberty Buildpack release complete. Release Payload #{payload}" }
      payload
    end
# Generates the payload required to run the application.  The payload format is defined by the
# {Heroku Buildpack API}[https://devcenter.heroku.com/articles/buildpack-api#buildpack-api].
#
# @return [String] The payload required to run the application.
Generates the payload required to run the application.
Generates the payload required to run the application .
def release
      @logger.debug { 'Liberty Buildpack starting release' }
      the_container = container 
      @jre.release
      frameworks.each(&:release)
      command = the_container.release
      payload = {
        'addons' => [],
        'config_vars' => {},
        'default_process_types' => {
          'web' => command
        }
      }.to_yaml
      @logger.debug { "Liberty Buildpack release complete. Release Payload #{payload}" }
      payload
    end
def release @logger . debug { 'Liberty Buildpack starting release' } the_container = container @jre . release frameworks . each ( & :release ) command = the_container . release payload = { 'addons' => [ ] , 'config_vars' => { } , 'default_process_types' => { 'web' => command } } . to_yaml @logger . debug { "Liberty Buildpack release complete. Release Payload #{payload}" } payload end
Generates the payload required to run the application.
Generates the payload required to run the application .
# diagnose detect failure early
The payload required to run the application.
The payload required to run the application .
String