Sha256: 8ac7029b4cecc12cda83e1650c5504c301826cc73fd3c22a5cb3b3a7994f08a8

Contents?: true

Size: 1.02 KB

Versions: 13

Compression:

Stored size: 1.02 KB

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
  require 'cucumber/rake/task'
  require 'rspec/core/rake_task'
  require 'rubygems/package_task'
  require 'nubic/gem_tasks'
end

gemspec = eval(File.read('abstractor.gemspec'), binding, 'abstractor.gemspec')
Gem::PackageTask.new(gemspec).define
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
$:.unshift File.join(File.dirname(__FILE__), 'spec','support')
load 'rails/tasks/engine.rake' if File.exists?(APP_RAKEFILE)
load 'lib/tasks/abstractor_tasks.rake'
load 'test/lib/tasks/abstractor_test_tasks.rake'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

namespace :cucumber do
  Cucumber::Rake::Task.new(:wip, 'Run features that are being worked on') do |t|
    t.profile = 'wip'
  end

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

task :cucumber => 'cucumber:features'
Nubic::GemTasks::DeployGemTask.new("pkg/#{gemspec.file_name}")
task "deploy:gem" => :repackage
Bundler::GemHelper.install_tasks

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
abstractor-1.0.20 Rakefile
abstractor-1.0.19 Rakefile
abstractor-1.0.18 Rakefile
abstractor-1.0.17 Rakefile
abstractor-1.0.16 Rakefile
abstractor-1.0.15 Rakefile
abstractor-1.0.14 Rakefile
abstractor-1.0.13 Rakefile
abstractor-1.0.12 Rakefile
abstractor-1.0.11 Rakefile
abstractor-1.0.10 Rakefile
abstractor-1.0.9 Rakefile
abstractor-1.0.8 Rakefile