Sha256: d88ae9337ca082e37fa822750dab3735ba35d3a7785c4cc85a960aaeaa983c07

Contents?: true

Size: 1.19 KB

Versions: 11

Compression:

Stored size: 1.19 KB

Contents

ProjectName = 'happymapper'
WebsitePath = "jnunemaker@rubyforge.org:/var/www/gforge-projects/#{ProjectName}"

require 'rubygems'
require 'rake'
require 'echoe'
require 'spec/rake/spectask'
require "lib/#{ProjectName}/version"

Echoe.new(ProjectName, HappyMapper::Version) do |p|
  p.description     = "object to xml mapping library"
  p.install_message = "May you have many happy mappings!"
  p.url             = "http://#{ProjectName}.rubyforge.org"
  p.author          = "John Nunemaker"
  p.email           = "nunemaker@gmail.com"
  p.extra_deps      = [['libxml-ruby', '= 1.1.3']]
  p.need_tar_gz     = false
  p.docs_host       = WebsitePath
end

desc 'Upload website files to rubyforge'
task :website do
  sh %{rsync -av website/ #{WebsitePath}}
  Rake::Task['website_docs'].invoke
end

task :website_docs do
  Rake::Task['redocs'].invoke
  sh %{rsync -av doc/ #{WebsitePath}/docs}
end

desc 'Preps the gem for a new release'
task :prepare do
  %w[manifest build_gemspec].each do |task|
    Rake::Task[task].invoke
  end
end

Rake::Task[:default].prerequisites.clear
task :default => :spec
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList["spec/**/*_spec.rb"]
end

Version data entries

11 entries across 11 versions & 5 rubygems

Version Path
dam5s-happymapper-0.3.2 Rakefile
jnunemaker-happymapper-0.2.3 Rakefile
jnunemaker-happymapper-0.2.4 Rakefile
jnunemaker-happymapper-0.2.5 Rakefile
macasek-happymapper-0.2.5 Rakefile
macasek-happymapper-0.2.6 Rakefile
robmitch-happymapper-0.2.5 Rakefile
happymapper-0.3.0 Rakefile
happymapper-0.2.5 Rakefile
happymapper-0.2.3 Rakefile
happymapper-0.2.4 Rakefile