Sha256: 8037ac70cd0038e7ac78c80ef4b18b2b7642c9a75abc2f2404a573a01d0a3bcc

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "trash"
    gem.summary = %Q{trash can for the command line}
    gem.description = %Q{when it's hard to say goodbye, and rm is just too much... use trash instead.}
    gem.email = "scribblethink@gmail.com"
    gem.homepage = "http://github.com/leejones/trash"
    gem.authors = ["Lee Jones"]
    gem.add_development_dependency "rspec", "~> 1.2.9"
    gem.add_development_dependency "rake", "~> 0.8.7"
    gem.add_development_dependency "jeweler", "~> 1.4.0"
    # 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 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies
task :default => :spec

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

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "trash #{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
trash-0.2.1 Rakefile