Added Git Cop support.

- Ensures Git commits are consistent.
- [Details](https://github.com/bkuhlmann/git-cop).
This commit is contained in:
Brooke Kuhlmann
2017-06-18 16:05:53 -06:00
parent 88494e2ed3
commit 18dccd7773
6 changed files with 49 additions and 0 deletions

1
.ruby-version Normal file
View File

@@ -0,0 +1 @@
2.4.1

6
Gemfile Normal file
View File

@@ -0,0 +1,6 @@
# frozen_string_literal: true
source "https://rubygems.org"
gem "rake", "~> 12.0"
gem "git-cop", "~> 1.0"

25
Gemfile.lock Normal file
View File

@@ -0,0 +1,25 @@
GEM
remote: https://rubygems.org/
specs:
git-cop (1.0.0)
refinements (~> 4.1)
runcom (~> 1.1)
thor (~> 0.19)
thor_plus (~> 5.1)
rake (12.0.0)
refinements (4.1.0)
runcom (1.1.0)
refinements (~> 4.1)
thor (0.19.4)
thor_plus (5.1.0)
thor (~> 0.19)
PLATFORMS
ruby
DEPENDENCIES
git-cop (~> 1.0)
rake (~> 12.0)
BUNDLED WITH
1.15.1

View File

@@ -1,5 +1,6 @@
# macOS
[![Circle CI Status](https://circleci.com/gh/bkuhlmann/mac_os.svg?style=svg)](https://circleci.com/gh/bkuhlmann/mac_os)
[![Patreon](https://img.shields.io/badge/patreon-donate-brightgreen.svg)](https://www.patreon.com/bkuhlmann)
Shell scripts for automated macOS machine setup.

9
Rakefile Normal file
View File

@@ -0,0 +1,9 @@
# frozen_string_literal: true
begin
require "git/cop/rake/setup"
rescue LoadError => error
puts error.message
end
task default: :git_cop

7
circle.yml Normal file
View File

@@ -0,0 +1,7 @@
dependencies:
pre:
- gem update --system
- gem update bundler
test:
override:
- bundle exec rake