Sha256: 245bb1415ccfbb4854c0f35707feb0d82e618bfcebb3e8683890d37284254892

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

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

# read config
hoog_config = YAML.load_file(File.join('<%= config[:root_dir] %>',
                                       'hoogfile.yml'))

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

plugin_list = CaptainHoog::PluginList.new('<%=config[:type] %>',
                                          config: hoog_config)

CaptainHoog::PreGit.run(plugins_list: plugin_list)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
captain_hoog-1.0 lib/captain_hoog/templates/install.erb