Sha256: 0262f1badc120c96691a55c6828b58b6824477435010ce877f5c9b07f0853b04

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "roccofy"
    gem.summary = "roccofy"
    gem.description = "roccofy"
    gem.email = "burke@burkelibbey.org"
    gem.homepage = "http://github.com/burke/#{gem.name}"
    gem.authors = ["Burke Libbey"]
    gem.files.include '{bin,spec,lib}/**/*'
    gem.add_dependency "sinatra"
    gem.add_dependency "rocco"
    gem.executables = ["roccofy"]
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'spec'
    test.pattern = 'spec/**/*_spec.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

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "multilogger #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roccofy-0.0.2 Rakefile