Sha256: 474709e39a97683d703c7ee82db8bcb75716b97d633262091aaeca8ae1dc41da

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

require "bundler/gem_tasks"

task :default => [:test]
task :test => [:spec, :features]

task :gemspec do
  @gemspec ||= eval(File.read(Dir["*.gemspec"].first))
end

desc "Validate the gemspec"
task :validate => :gemspec do
  @gemspec.validate
end

require 'rspec'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = "--format d --color"
end

task :rspec => [:spec]

require 'cucumber'
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = "features --format pretty --tags ~@wip"
end

task :cucumber => [:features]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-switcher-0.0.2 Rakefile
git-switcher-0.0.1 Rakefile