Sha256: 5e176607302ae931d782d1733050247497b2d1cd177de352039507daf30c63c0

Contents?: true

Size: 1.37 KB

Versions: 3

Compression:

Stored size: 1.37 KB

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
require 'soca'
require 'bundler'
Bundler.require

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "soca"
    gem.version = Soca::VERSION
    gem.summary = %Q{Sammy on CouchApp}
    gem.description = %Q{soca is a different way of writing apps for CouchDB. The structure is up to you.}
    gem.email = "aaron@quirkey.com"
    gem.homepage = "http://github.com/quirkey/soca"
    gem.authors = ["Aaron Quint"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end


task :default => :test

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
soca-0.3.3 Rakefile
soca-0.3.2 Rakefile
soca-0.3.1 Rakefile