forked from saulabs/reportable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
28 lines (22 loc) · 656 Bytes
/
Rakefile
File metadata and controls
28 lines (22 loc) · 656 Bytes
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
require 'rubygems'
require 'bundler'
Bundler.setup
Bundler.require
require 'spec/rake/spectask'
require 'simplabs/excellent/rake'
desc 'Default: run specs.'
task :default => :spec
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.rcov_opts << '--exclude "gems/*,spec/*,init.rb"'
t.rcov = true
t.rcov_dir = 'doc/coverage'
t.spec_files = FileList['spec/**/*_spec.rb']
end
YARD::Rake::YardocTask.new(:doc) do |t|
t.files = ['lib/**/*.rb', '-', 'HISTORY.md']
t.options = ['--no-private', '--title', 'Reportable Documentation']
end
Simplabs::Excellent::Rake::ExcellentTask.new(:excellent) do |t|
t.paths = %w(lib)
end