Permalink
Browse files

add gemfile and setup for tests

  • Loading branch information...
1 parent a80404c commit b5ff460c66ed9307cee39a47c6567fda3aa8356b @geemus committed Mar 21, 2011
Showing with 9 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 Gemfile
  3. +3 −7 Rakefile
  4. +2 −1 formatador.gemspec
View
@@ -19,3 +19,4 @@ rdoc
pkg
## PROJECT::SPECIFIC
+Gemfile.lock
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
View
@@ -43,14 +43,10 @@ end
#
#############################################################################
-task :default => :test
+require 'shindo/rake'
+Shindo::Rake.new
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
+task :default => :tests
desc "Generate RCov test coverage and open in your browser"
task :coverage do
View
@@ -52,7 +52,8 @@ Gem::Specification.new do |s|
## List your development dependencies here. Development dependencies are
## those that are only needed during development
- # s.add_development_dependency('DEVDEPNAME', [">= 1.1.0", "< 2.0.0"])
+ s.add_development_dependency('rake')
+ s.add_development_dependency('shindo')
## Leave this section as-is. It will be automatically generated from the
## contents of your Git repository via the gemspec task. DO NOT REMOVE

0 comments on commit b5ff460

Please sign in to comment.