File: rubocop.rb

package info (click to toggle)
ruby-contracts 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 624 kB
  • sloc: ruby: 3,805; makefile: 4; sh: 2
file content (5 lines) | stat: -rw-r--r-- 131 bytes parent folder | download | duplicates (4)
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