Browse files

add spec rake task for travis

  • Loading branch information...
1 parent 8c7304a commit 17674c973589e28da9ccb05ad9351702efd1d5f1 @flyerhzm flyerhzm committed Aug 20, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 Rakefile
View
14 Rakefile
@@ -1,2 +1,16 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+
+require "rake"
+require "rspec"
+require "rspec/core/rake_task"
+
+$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
+require "memcached/version"
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = "spec/**/*_spec.rb"
+end
+
+task :default => :spec
+task :test => :spec

0 comments on commit 17674c9

Please sign in to comment.