File: remove-rdoctask.patch

package info (click to toggle)
ruby-formatador 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 156 kB
  • sloc: ruby: 477; sh: 4; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: remove rdoctask
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Last-Update: 2023-09-22
Forwarded: not-needed

Index: ruby-formatador/Rakefile
===================================================================
--- ruby-formatador.orig/Rakefile
+++ ruby-formatador/Rakefile
@@ -52,14 +52,6 @@ task :coverage do
   sh "open coverage/index.html"
 end
 
-require 'rdoc/task'
-Rake::RDocTask.new do |rdoc|
-  rdoc.rdoc_dir = 'rdoc'
-  rdoc.title = "#{name} #{version}"
-  rdoc.rdoc_files.include('README*')
-  rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
 desc "Open an irb session preloaded with this library"
 task :console do
   sh "irb -rubygems -r ./lib/#{name}.rb"