Sha256: 0bb34e6ac03a95b5a171df2411485bd75d7462283329f4d59417f551bcd23274

Contents?: true

Size: 1.15 KB

Versions: 12

Compression:

Stored size: 1.15 KB

Contents

desc 'Release the website and new gem version'
task :deploy => [:check_version, :website, :release] do
  puts "Remember to create SVN tag:"
  puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
    "svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
  puts "Suggested comment:"
  puts "Tagging release #{CHANGES}"
end

desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
task :local_deploy => [:website_generate, :install_gem]

task :check_version do
  unless ENV['VERSION']
    puts 'Must pass a VERSION=x.y.z release version'
    exit
  end
  unless ENV['VERSION'] == VERS
    puts "Please update your version.rb to match the release version, currently #{VERS}"
    exit
  end
end

task :clobber_rcov do
end

desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
task :install_gem_no_doc => [:clean, :package] do
  sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
end

namespace :manifest do
  desc 'Recreate Manifest.txt to include ALL files'
  task :refresh do
    `rake check_manifest | patch -p0 > Manifest.txt`
  end
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
crafterm-sprinkle-0.2.3 tasks/deployment.rake
crafterm-sprinkle-0.2.4 tasks/deployment.rake
crafterm-sprinkle-0.2.5 tasks/deployment.rake
crafterm-sprinkle-0.2.6 tasks/deployment.rake
lachlan-sprinkle-0.0.15 tasks/deployment.rake
lachlan-sprinkle-0.0.16 tasks/deployment.rake
trevorturk-sprinkle-0.2.6 tasks/deployment.rake
maxmpz-sprinkle-0.2.6.1 tasks/deployment.rake
sprinkle-0.2.6 tasks/deployment.rake
sprinkle-0.2.3 tasks/deployment.rake
sprinkle-0.2.4 tasks/deployment.rake
sprinkle-0.2.5 tasks/deployment.rake