Sha256: 6b349ca3f542c3012cbe2807fccfba9b684ba5692c8d910a70ad4ae42884774f

Contents?: true

Size: 639 Bytes

Versions: 4

Compression:

Stored size: 639 Bytes

Contents

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

# read config
hoog_config = CaptainHoog::Hoogfile.config('<%= config[:root_dir] %>')

# Adjust settings
CaptainHoog::PreGit.configure do |config|
  config.plugins_dir      = hoog_config.plugins_dir
  config.project_dir      = hoog_config.project_dir
  config.plugins_conf     = hoog_config.plugins_env
  #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

4 entries across 4 versions & 1 rubygems

Version Path
captain_hoog-1.1.1 lib/captain_hoog/templates/install.erb
captain_hoog-1.1.0 lib/captain_hoog/templates/install.erb
captain_hoog-1.0.2 lib/captain_hoog/templates/install.erb
captain_hoog-1.0.1 lib/captain_hoog/templates/install.erb