Skip to content

Commit

Permalink
ensure Rakefile works without jeweler
Browse files Browse the repository at this point in the history
remove machine specific gitignores
  • Loading branch information
tooky authored and elliotcm committed Mar 21, 2010
1 parent 1da3937 commit 3f6bacd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .gitignore
@@ -1,4 +1,4 @@
.*.sw?
tmp
*.scratch.*
.DS_Store
coverage
rdoc
pkg

4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -14,6 +14,9 @@ begin
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new

# check_dependencies is defined by jeweler
task :spec => :check_dependencies
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Expand All @@ -30,6 +33,5 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

0 comments on commit 3f6bacd

Please sign in to comment.