Sha256: e07dbc8b895fc636354083a5f6b8c1d85b979a40a33ddca1db7f2ab236dba14c

Contents?: true

Size: 577 Bytes

Versions: 2

Compression:

Stored size: 577 Bytes

Contents

require 'bundler/gem_tasks'

require 'rake/testtask'
Rake::TestTask.new do |test|
  test.libs << "test" << "."
  test.ruby_opts << "-rruby-debug" if ENV['DEBUG']
  test.pattern = 'test/test_*.rb'
  test.verbose = true
end

require 'rubygems/package_task'
def gemspec
  @clean_gemspec ||= eval(File.read(File.expand_path('../couchbase.gemspec', __FILE__)))
end

Gem::PackageTask.new(gemspec) do |pkg|
  pkg.need_zip = true
  pkg.need_tar = true
end

desc 'Start an irb session and load the library.'
task :console do
  exec "irb -I lib -rcouchbase"
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
couchbase-0.9.8 Rakefile
couchbase-0.9.7 Rakefile