summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 02eca4d258ca72463575ff8df90bc02cd97a41cb (plain)
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
require "rdoc/task"
require "rake/testtask"
require "rubygems/package_task"
require "bundler/gem_tasks"
require "code_statistics"

require "rubygems"

task :default => [:test]

Rake::TestTask.new do |test|
  test.libs       = ["lib", "test"]
  test.test_files = FileList[ "test/tc_*.rb"]
  test.verbose    = true
  test.warning    = true
end

RDoc::Task.new do |rdoc|
  rdoc.rdoc_files.include( "README.rdoc", "INSTALL",
                           "TODO", "Changelog.md",
                           "AUTHORS", "COPYING",
                           "LICENSE", "lib /*.rb" )
  rdoc.main     = "README.rdoc"
  rdoc.rdoc_dir = "doc/html"
  rdoc.title    = "HighLine Documentation"
end

Gem::PackageTask.new(SPEC) do |package|
  # do nothing:  I just need a gem but this block is required
end