#!/usr/bin/env ruby
require 'captain_hoog'

# Adjust the path below.
plugins_path = File.expand_path(File.join(File.dirname(__FILE__),
                                                   "..",
                                                   "..",
                                                   "plugins"))

# Adjust settings
CaptainHoog::PreGit.configure do |config|
  config.plugins_dir =  "<%= config[:plugins_dir] %>"
  config.project_dir = "<%= config[:project_dir] %>"
  #config.headline_on_success = "All is fine."
  #config.headline_on_failure = "Oops. Something went wrong"
end

#!/usr/bin/env ruby
require 'captain_hoog'

# Adjust the path below.
plugins_path = File.expand_path(File.join(File.dirname(__FILE__),
                                                   "..",
                                                   "..",
                                                   "plugins"))

# Adjust settings
CaptainHoog::PreGit.configure do |config|
  config.plugins_dir =  "<%= config[:plugins_dir] %>"
  config.project_dir = "<%= config[:project_dir] %>"
  #config.headline_on_success = "All is fine."
  #config.headline_on_failure = "Oops. Something went wrong"
end

CaptainHoog::PreGit.run

Add run call to hook template
[CaptainHoog] Add run call to hook template
