Sha256: d55b0dfeb6c1c9d8d0f197e38a12dfa8777ebe1b9a52c1ab48b9a387e734ad14
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
require 'rainbow' module Codeguard module GitMessage module_function def config_project_path Pathname.new '.gitmessage' end def config_gem_path Codeguard.config_path.join('.gitmessage') end def setup `git config commit.template .gitmessage` puts Rainbow('commit.template was added to git config').green end end # module GitMessage end # module Codeguard
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codeguard-0.3.0 | lib/codeguard/git_message.rb |
codeguard-0.2.0 | lib/codeguard/git_message.rb |