]> git.openstreetmap.org Git - rails.git/blob - bin/rubocop
Create base and head branches before running danger
[rails.git] / bin / rubocop
1 #!/usr/bin/env ruby
2 require "rubygems"
3 require "bundler/setup"
4
5 # explicit rubocop config increases performance slightly while avoiding config confusion.
6 ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__))
7
8 load Gem.bin_path("rubocop", "rubocop")