Skip to content

Commit

Permalink
default rake task runs setup then test
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Sep 11, 2011
1 parent 39f5bae commit 612ed24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
@@ -1,13 +1,13 @@
require 'rake/clean'

task :default => :test
task :default => [:setup, :test]

CLEAN.include %w[coverage/ doc/api tags]
CLOBBER.include %w[dist]

desc "Install gem dependencies"
task :setup do
sh "bundle install"
sh "bundle check >/dev/null || bundle install", :verbose => false
end

# SPECS =====================================================================
Expand Down

0 comments on commit 612ed24

Please sign in to comment.