BigW Consortium Gitlab

flay.rake 194 Bytes
Newer Older
1 2
desc 'Code duplication analyze via flay'
task :flay do
3
  output = %x(bundle exec flay --mass 35 app/ lib/gitlab/)
4 5 6 7 8 9

  if output.include? "Similar code found"
    puts output
    exit 1
  end
end