Sha256: 3605c7075dad02ac524a5c0cd64c1dd6c01487e478c0ac4dc42249a00be2fa32

Contents?: true

Size: 460 Bytes

Versions: 18

Compression:

Stored size: 460 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new

namespace :spec do
  desc 'Run unit specs only'
  RSpec::Core::RakeTask.new(:unit) do |task|
    task.pattern    = 'spec'
    task.rspec_opts = '--tag "~live"'
  end

  desc 'Run acceptance specs only'
  RSpec::Core::RakeTask.new(:acceptance) do |task|
    task.pattern    = 'spec'
    task.rspec_opts = '--tag "live"'
  end
end

task :default => :spec

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
color_conversion-0.1.2 Rakefile
color_parser-1.0.6 Rakefile
color_conversion-0.1.1 Rakefile
color_parser-1.0.5 Rakefile
stylesheet-0.1.8 Rakefile
color_parser-1.0.4 Rakefile
stylesheet-0.1.7 Rakefile
stylesheet-0.1.6 Rakefile
color_parser-1.0.2 Rakefile
stylesheet-0.1.5 Rakefile
color_parser-1.0.1 Rakefile
color_conversion-0.1.0 Rakefile
color_parser-1.0.0 Rakefile
stylesheet-0.1.4 Rakefile
stylesheet-0.1.3 Rakefile
stylesheet-0.1.1 Rakefile
color_parser-0.1.0 Rakefile
stylesheet-0.1.0 Rakefile