Added Git Cop support.
- Ensures Git commits are consistent. - [Details](https://github.com/bkuhlmann/git-cop).
This commit is contained in:
1
.ruby-version
Normal file
1
.ruby-version
Normal file
@@ -0,0 +1 @@
|
||||
2.4.1
|
||||
6
Gemfile
Normal file
6
Gemfile
Normal 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
25
Gemfile.lock
Normal 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
|
||||
@@ -1,5 +1,6 @@
|
||||
# macOS
|
||||
|
||||
[](https://circleci.com/gh/bkuhlmann/mac_os)
|
||||
[](https://www.patreon.com/bkuhlmann)
|
||||
|
||||
Shell scripts for automated macOS machine setup.
|
||||
|
||||
9
Rakefile
Normal file
9
Rakefile
Normal 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
7
circle.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
dependencies:
|
||||
pre:
|
||||
- gem update --system
|
||||
- gem update bundler
|
||||
test:
|
||||
override:
|
||||
- bundle exec rake
|
||||
Reference in New Issue
Block a user