Sha256: 36d60014b3d8afab004f4ce8e690242c40d6ce9f07c900a697fe22c0f46d2f24

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

namespace :samples do

  files = Dir['spec/integration/*.rb'] + ['setup.rb']

  files.each do |f|
    fn = File.basename(f)
    desc "run reek on sample #{fn}"
    task fn do
      sh "ruby -Ilib bin/reek #{f}"
    end
    task :all => fn
  end
  
  desc 'run all samples'
  task :all

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reek-0.2.3 tasks/samples.rake
reek-0.3.0 tasks/samples.rake
reek-0.3.1 tasks/samples.rake