Sha256: d339e4a0a7c67c03c44eea3d546e3daa32b579a3b8bdab124eb69e64cb833db4

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

desc 'Runs mutant'
task :mutant do
  command = <<-EOS
    branch_name=$(git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3)
    if [ "$branch_name" != "master" ]; then
      RUBY_THREAD_VM_STACK_SIZE=64000\
      bundle exec mutant\
        --include lib\
        --require reek\
        --use rspec\
        --since master\
        --jobs 4 'Reek*'
    else
      echo "!!! Not running mutant on master branch !!!"
    fi
  EOS
  system command
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reek-4.1.1 tasks/mutant.rake
reek-4.1.0 tasks/mutant.rake
reek-4.0.5 tasks/mutant.rake