Permalink
Browse files

Add simplecov profile to rc config. [admin]

  • Loading branch information...
1 parent a9d0bc6 commit ed660d97cf80ab2a3c8884f07662fe21ea0d93de @trans trans committed Jan 22, 2013
Showing with 27 additions and 5 deletions.
  1. +2 −2 .index
  2. +21 −0 .rubyrc
  3. +4 −3 .yardopts
  4. 0 Index.yml → INDEX.yml
View
4 .index
@@ -2,7 +2,7 @@
revision: 2013
type: ruby
sources:
-- Index.yml
+- INDEX.yml
authors:
- name: Trans
email: transfire@gmail.com
@@ -59,4 +59,4 @@ title: YARD TomDoc
summary: TomDoc for YARD
description: Use TomDoc documentation format with YARD.
webcvs: https://github.com/rubyworks/yard-tomdoc/tree/master
-date: '2013-01-21'
+date: '2013-01-22'
View
21 .rubyrc
@@ -1,3 +1,4 @@
+#!/usr/bin/env ruby
config 'rubytest' do |run|
require 'spectroscope'
@@ -9,3 +10,23 @@ config 'rubytest' do |run|
run.files << 'test/**/test_*.rb'
end
+config 'rubytest', :profile=>:cov do |run|
+ require 'spectroscope'
+ require 'ae'
+ require 'simplecov'
+
+ $:.unshift 'lib'
+ $:.unshift 'test'
+
+ run.files << 'test/**/test_*.rb'
+
+ dir = $properties.coverage_folder
+
+ SimpleCov.command_name 'Ruby Tests'
+
+ SimpleCov.start do
+ coverage_dir(dir || 'log/coverage')
+ #add_group "Label", "lib/qed/directory"
+ end
+end
+
View
@@ -1,8 +1,9 @@
---title "YARD-TomDoc"
+--title "YARD TomDoc"
--readme README.md
--protected
--private
--plugin tomdoc
-lib
+lib
-
-[A-Z]*.*
+*.md
+*.txt
View
File renamed without changes.

0 comments on commit ed660d9

Please sign in to comment.