forked from wuffo/no_fuzz
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
36 lines (31 loc) · 971 Bytes
/
Rakefile
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
# -*- coding: utf-8 -*-
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
#require 'spec/rake/spectask'
#require 'echoe'
desc 'Default: run unit tests.'
task :default => :test
# Echoe.new('no_fuzz') do |p|
# p.author = "Bjørn Arild Mæland"
# p.email = "[email protected]"
# p.summary = "No Fuzz"
# p.url = "http://github.com/Chrononaut/no_fuzz"
# p.ignore_pattern = FileList[".gitignore"]
# p.include_rakefile = true
# end
desc 'Test the no_fuzz plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
DOCUMENTED_FILES = FileList['README.markdown', 'MIT-LICENSE', 'lib/**/*.rb']
desc 'Generate documentation for the no_fuzz plugin.'
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "HostConnect"
rdoc.options << '--line-numbers' << '--inline-source' << '--main' << 'README.markdown'
rdoc.rdoc_files.include(*DOCUMENTED_FILES)
end