Sha256: c953d4a6692812dcfe27f81fb84f427ef6b6fcaa3039b207f45643daaa7f98fc

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

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

require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.ruby_opts = "-I lib:spec"
  spec.pattern = 'spec/**/*_spec.rb'
end
task :spec

Cucumber::Rake::Task.new(:features, "Run features") do |t|
  t.profile = "default"
end

desc 'Run all specs and cukes'
task :test => ['spec', 'features']

task :lib do
  $LOAD_PATH.unshift(File.expand_path("lib", File.dirname(__FILE__)))
end

task :default => :test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fig_magic-0.5 Rakefile
fig_magic-0.4 Rakefile
fig_magic-0.3 Rakefile
fig_magic-0.2 Rakefile
fig_magic-0.1 Rakefile