Sha256: dbdcbb6f34ca3ff164df2b72cb94b72c50be0d43287e1e500299cbc0d37e8477

Contents?: true

Size: 324 Bytes

Versions: 4

Compression:

Stored size: 324 Bytes

Contents

namespace :samples do
  desc 'Run all sample applications'
  task :run do
    Dir.glob('samples/*.rb') do |sample|
      next unless File.executable?(sample)
      success = system(sample)
      raise "#{sample} sample app failed" unless success
    end
  end
end

desc 'Alias to samples:run'
task :samples => 'samples:run'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cascading.jruby-0.0.7 tasks/samples.rake
cascading.jruby-0.0.6 tasks/samples.rake
cascading.jruby-0.0.5 tasks/samples.rake
cascading.jruby-0.0.4 tasks/samples.rake