#! /usr/bin/env ruby require 'rake' task :default => :test task :test do FileUtils.cd 'tests' do sh 'rspec channel_spec.rb --backtrace --color --format doc' sh 'rspec promise_spec.rb --backtrace --color --format doc' sh 'rspec future_spec.rb --backtrace --color --format doc' sh 'rspec delay_spec.rb --backtrace --color --format doc' sh 'rspec pipe_spec.rb --backtrace --color --format doc' sh 'rspec every_spec.rb --backtrace --color --format doc' end end