File: Rakefile

package info (click to toggle)
ruby-twitter-text 1.14.7+conformance-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 796 kB
  • sloc: ruby: 2,917; java: 1,571; makefile: 6
file content (36 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
require 'bundler'
include Rake::DSL
Bundler::GemHelper.install_tasks

task :default => ['spec', 'test:conformance']
task :test => :spec

require 'rubygems'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

namespace :test do
  namespace :conformance do
    desc "Run conformance test suite"
    task :run do
      ruby '-rubygems', "test/conformance_test.rb"
    end
  end

  desc "Run conformance test suite"
  task :conformance => ['conformance:run'] do
  end
end

require 'rdoc/task'
namespace :doc do
  RDoc::Task.new do |rd|
    rd.main = "README.rdoc"
    rd.rdoc_dir = 'doc'
    rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
  end
end

desc "Run cruise control build"
task :cruise => [:spec, 'test:conformance'] do
end