Skip to content
Snippets Groups Projects
flay.rake 192 B
Newer Older
  • Learn to ignore specific revisions
  • 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