Skip to content
This repository
tree: 7e9bdd3aaa
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (19 sloc) 0.648 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# encoding: UTF-8
require 'bundler/gem_tasks'

require 'rdoc/task'

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

require 'ci/reporter/rake/rspec'

require File.join(File.dirname(__FILE__), 'lib', 'social_stream', 'version')


RSpec::Core::RakeTask.new(:spec) do |s|
  s.pattern = ['./spec/**/*_spec.rb', '*/spec/*/*_spec.rb']
end

task :default => :spec

Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'SocialStream'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb', 'app/**/*.rb')
end

Bundler::GemHelper.install_tasks
Something went wrong with that request. Please try again.