Skip to content

Commit

Permalink
Use etc instead of single Config.rb file. [admin]
Browse files Browse the repository at this point in the history
  • Loading branch information
trans committed Jul 16, 2013
1 parent 81f6627 commit bbc8404
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
1 change: 0 additions & 1 deletion .ruby

This file was deleted.

28 changes: 0 additions & 28 deletions Config.rb

This file was deleted.

9 changes: 9 additions & 0 deletions etc/qed.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
QED.configure 'cov' do
require 'simplecov'
SimpleCov.command_name 'QED'
SimpleCov.start do
add_filter '/demo/'
coverage_dir 'log/coverage'
end
end

25 changes: 25 additions & 0 deletions etc/test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env ruby

Test.run :default do |run|
$:.unshift 'test'
$:.unshift 'lib'
end

Test.run :cov do |run|
#require 'lemon'
#require 'ae'

$:.unshift 'test'
$:.unshift 'lib'

require 'simplecov'
SimpleCov.command_name 'RubyTest'
SimpleCov.start do
add_filter '/test/'
add_filter '/lib/hashery/ordered_hash.rb'
coverage_dir 'log/coverage'
end

run.files << 'test/case_*.rb'
end

0 comments on commit bbc8404

Please sign in to comment.