Skip to content

Commit 9853448

Browse files
author
Nathan Sutton
committed
Get rid of unused rdoc and rcov tasks
1 parent 76d18fc commit 9853448

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

Rakefile

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,3 @@ Rake::TestTask.new(:test) do |test|
99
end
1010

1111
task :default => :test
12-
13-
require 'rdoc/task'
14-
15-
Rake::RDocTask.new do |rdoc|
16-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
17-
18-
rdoc.rdoc_dir = 'rdoc'
19-
rdoc.title = "zencoder-rb #{version}"
20-
rdoc.rdoc_files.include('README*')
21-
rdoc.rdoc_files.include('lib/**/*.rb')
22-
end
23-
24-
begin
25-
require 'rcov/rcovtask'
26-
Rcov::RcovTask.new do |test|
27-
test.libs << 'test'
28-
test.pattern = 'test/**/*_test.rb'
29-
test.verbose = true
30-
test.rcov_opts << '--exclude "gems/*"'
31-
end
32-
rescue LoadError
33-
task :rcov do
34-
abort "RCov is not available. In order to run rcov, you must: sudo gem install rcov"
35-
end
36-
end

0 commit comments

Comments
 (0)