class TinyCI::Hookers::ScriptHooker

Constants

BLOCKING_HOOKS

Those hooks that will halt exectution if they fail

HOOKS

All the hooks

Public Instance Methods

script_location(hook) click to toggle source
# File lib/tinyci/hookers/script_hooker.rb, line 57
def script_location(hook)
  ['/bin/sh', '-c', "'#{interpolate(@config[hook.to_sym])}'"]
end