Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add spec rake task for travis

  • Loading branch information...
commit 17674c973589e28da9ccb05ad9351702efd1d5f1 1 parent 8c7304a
Richard Huang flyerhzm authored

Showing 1 changed file with 14 additions and 0 deletions. Show diff stats Hide diff stats

  1. +14 0 Rakefile
14 Rakefile
... ... @@ -1,2 +1,16 @@
1 1 #!/usr/bin/env rake
2 2 require "bundler/gem_tasks"
  3 +
  4 +require "rake"
  5 +require "rspec"
  6 +require "rspec/core/rake_task"
  7 +
  8 +$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
  9 +require "memcached/version"
  10 +
  11 +RSpec::Core::RakeTask.new(:spec) do |spec|
  12 + spec.pattern = "spec/**/*_spec.rb"
  13 +end
  14 +
  15 +task :default => :spec
  16 +task :test => :spec

0 comments on commit 17674c9

Please sign in to comment.
Something went wrong with that request. Please try again.