Sha256: 3200cd11bb59d5b7add175a921d165a60dc577a203df72c08d8ee17165601f7c

Contents?: true

Size: 551 Bytes

Versions: 3

Compression:

Stored size: 551 Bytes

Contents

#!/usr/bin/env rake
require 'rake/dsl_definition' 
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

3 entries across 3 versions & 1 rubygems

Version Path
pose-0.3 Rakefile
pose-0.2.6 Rakefile
pose-0.2.5 Rakefile