commit
733587fa05
|
@ -10,3 +10,4 @@ _site/
|
|||
bbin/
|
||||
gh-pages/
|
||||
site/_site/
|
||||
coverage
|
||||
|
|
8
Rakefile
8
Rakefile
|
@ -55,14 +55,6 @@ Rake::TestTask.new(:test) do |test|
|
|||
test.verbose = true
|
||||
end
|
||||
|
||||
desc "Generate RCov test coverage and open in your browser"
|
||||
task :coverage do
|
||||
require 'rcov'
|
||||
sh "rm -fr coverage"
|
||||
sh "rcov test/test_*.rb"
|
||||
sh "open coverage/index.html"
|
||||
end
|
||||
|
||||
require 'rdoc/task'
|
||||
Rake::RDocTask.new do |rdoc|
|
||||
rdoc.rdoc_dir = 'rdoc'
|
||||
|
|
|
@ -41,6 +41,7 @@ Gem::Specification.new do |s|
|
|||
s.add_development_dependency('rdiscount', "~> 1.6")
|
||||
s.add_development_dependency('redcarpet', "~> 2.1.1")
|
||||
s.add_development_dependency('launchy', "~> 2.1.2")
|
||||
s.add_development_dependency('simplecov', "~> 0.7")
|
||||
|
||||
# = MANIFEST =
|
||||
s.files = %w[
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
require 'simplecov'
|
||||
SimpleCov.start do
|
||||
add_filter "/test/"
|
||||
end
|
||||
|
||||
require 'rubygems'
|
||||
gem 'RedCloth', '>= 4.2.1'
|
||||
|
||||
|
|
Loading…
Reference in New Issue