diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rubocop | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/rubocop b/bin/rubocop new file mode 100755 index 0000000000..5cf46a9744 --- /dev/null +++ b/bin/rubocop @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + +bundler_spec = Gem::Specification.load(File.expand_path("../../bundler.gemspec", __FILE__)) +bundler_spec.dependencies.each do |dep| + gem dep.name, dep.requirement.to_s +end + +gem "rubocop", ">= 0.32.1" +load Gem.bin_path("rubocop", "rubocop") |