Sha256: 155d1b045d2f69c51ee5db4087ab3eb0a47a1c916e637de7a37db442c3f0c890

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

# -*- ruby -*-
ENV['RUBY_FLAGS'] = "-I#{%w(lib ext bin spec).join(File::PATH_SEPARATOR)}"

require 'rubygems'
require 'bundler/gem_tasks'
require 'bundler/setup'

task :default => [:spec, :features]
task :gem => :build

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

require 'ci/reporter/rake/rspec'
require 'ci/reporter/rake/cucumber'
task :ci => ['ci:setup:rspec', :spec, 'ci:setup:rspec', :features]

require 'cucumber'
require 'cucumber/rake/task'
require 'ci/reporter/rake/cucumber'
Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = %w{--tags ~@jruby} unless defined?(JRUBY_VERSION)
end

Cucumber::Rake::Task.new(:wip) do |t|
  t.cucumber_opts = %w{-p wip -q}
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new do |t|
    t.files = ['lib/**/*.rb'] + %w[README.markdown TODO.markdown LICENSE]
  end
rescue LoadError
  STDERR.puts "\nCould not require() YARD! Install with 'gem install yard' to get the 'yardoc' task\n\n"
end

task :stats do
  system 'doc/cloc-1.55.pl . --exclude-dir=.git,vendor,coverage,doc'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adhearsion-2.0.0.beta1 Rakefile
adhearsion-2.0.0.alpha3 Rakefile
adhearsion-2.0.0.alpha2 Rakefile
adhearsion-2.0.0.alpha1 Rakefile