Sha256: 3308bf5c1fb8428faf8bed45043f88aa43d97fa65bf838458a82549f687b46c3

Contents?: true

Size: 691 Bytes

Versions: 5

Compression:

Stored size: 691 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require 'bundler'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

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

RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/lib/**/*_spec.rb'
end

RSpec::Core::RakeTask.new(:acceptance_spec) do |t|
  t.pattern = 'spec/acceptance/**/*_spec.rb'
end

task :all_specs => [:spec, :acceptance_spec]
task :default => [:all_specs]

require 'rake/extensiontask'
Rake::ExtensionTask.new do |t|
  t.name    = 'fast_traverse'
  t.ext_dir = 'ext/prj'
  t.lib_dir = 'lib/prj'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prj-2.0.1 Rakefile
prj-2.0.1.pre.2 Rakefile
prj-2.0.1.pre.1 Rakefile
prj-2.0.0 Rakefile
prj-1.0.2 Rakefile