Sha256: 7f32b7288a0884876293f2a34e103c44105f7fe8f7b618e958ddeaa6f16807fd

Contents?: true

Size: 521 Bytes

Versions: 7

Compression:

Stored size: 521 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
require 'rspec/core/rake_task'

Bundler::GemHelper.install_tasks

desc 'Default: run the specs and features.'
task :default => 'spec:unit' do
  system("bundle exec rake spec")
end

namespace :spec do

  desc "Run unit specs"
  RSpec::Core::RakeTask.new('unit') do |t|
    t.pattern = 'spec/{*_spec.rb}'
  end
end

desc "Run the unit tests"
task :spec => ['spec:unit']

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pose-0.2.4 Rakefile
pose-0.2.3 Rakefile
pose-0.2.2 Rakefile
pose-0.2.1 Rakefile
pose-0.2 Rakefile
pose-0.0.3 Rakefile
pose-0.0.2 Rakefile