File: rubocop.rb

package info (click to toggle)
ruby-contracts 0.17.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 544 kB
  • sloc: ruby: 3,807; makefile: 4; sh: 2
file content (5 lines) | stat: -rw-r--r-- 131 bytes parent folder | download | duplicates (5)
1
2
3
4
5
if RUBY_VERSION.to_f == 2.1
  puts "running rubocop..."
  puts `bundle exec rubocop #{ARGV.join(" ")} -D`
  exit $?.exitstatus
end