Sha256: eaea5b9e35aaf8d3d92d331fe87af0ef9726a7e9fe5c515b3daf3dfe116cf06a

Contents?: true

Size: 584 Bytes

Versions: 1

Compression:

Stored size: 584 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'rake'
require 'rspec/core/rake_task'
require 'appraisal'

Bundler::GemHelper.install_tasks

desc 'Default: run unit tests.'
task :default => [:clean, :all]

desc "Run Specs against all Appraisals"
task :all => :spec do
  Rake::Task["appraisal:install"].execute
  system("bundle exec rake -s appraisal test")
end

desc "Run Specs"
RSpec::Core::RakeTask.new(:spec) do |t|
end

task :test => [:spec]

desc "Clean up files."
task :clean do |t|
  FileUtils.rm_rf "tmp"
  Dir.glob("micro_sessions-*.gem").each {|f| FileUtils.rm f }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
micro_sessions-0.3.0 Rakefile