Sha256: 5f7b03886ef4a954cc2c36391affe9e4f6f847d1bfcd47a918d083f86566a8ff

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

require 'rubygems'
require 'rake'
require 'echoe'

Echoe.new('resourceful', '0.3.1') do |p|
  p.description     = "An HTTP library for Ruby that takes advantage of everything HTTP has to offer."
  p.url             = "http://github.com/paul/resourceful"
  p.author          = "Paul Sadauskas"
  p.email           = "psadauskas@gmail.com"

  p.ignore_pattern  = ["pkg/*", "tmp/*"]
  p.dependencies    = ['addressable', 'httpauth', 'rspec', 'facets', 'andand']
  p.development_dependencies = ['thin', 'yard']
end

require 'spec/rake/spectask'

desc 'Run all specs'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts')
  t.libs << 'lib'
  t.spec_files = FileList['spec/**/*_spec.rb']
end

desc 'Default: Run Specs'
task :default => :spec

desc 'Run all tests'
task :test => :spec

require 'yard'

desc "Generate Yardoc"
YARD::Rake::YardocTask.new do |t|
  t.files = ['lib/**/*.rb', 'README.markdown']
end

desc "Update rubyforge documentation"
task :update_docs => :yardoc do
  puts %x{rsync -aPz doc/* psadauskas@resourceful.rubyforge.org:/var/www/gforge-projects/resourceful/}
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
paul-resourceful-0.3.1 Rakefile
resourceful-0.3.1 Rakefile