Sha256: e35dfd1b881166f92d3a4a75525b5bed3401c4f9b1da87c73fc7fb6888b847be
Contents?: true
Size: 753 Bytes
Versions: 1
Compression:
Stored size: 753 Bytes
Contents
#!/usr/bin/env ruby require 'captain_hoog' plugins_path = File.expand_path(File.join(File.dirname(__FILE__), "plugins", "test_plugins", "passing")) hoog_config = { 'exclude' => [], 'plugins_dir' => plugins_path, 'project_dir' => 'with_git', 'pre-commit' => ['simple'] } plugin_list = CaptainHoog::PluginList.new('pre-commit', config: hoog_config) # Adjust settings CaptainHoog::PreGit.configure do |config| config.plugins_dir = hoog_config['plugins_dir'] config.project_dir = hoog_config['project_dir'] end CaptainHoog::PreGit.run(plugins_list: plugin_list)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
captain_hoog-1.0 | spec/fixtures/pre-commit-pass |