blob: 00d018f4400b9874c3b8129e52cc7bfc99632097 (
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
|
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.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
|