blob: 7ad2b2e4d39afe266625648d7d27666dc14b40d0 (
plain)
1
2
3
4
5
6
7
8
9
|
desc 'Code duplication analyze via flay'
task :flay do
output = `bundle exec flay --mass 35 app/ lib/gitlab/`
if output.include? "Similar code found"
puts output
exit 1
end
end
|