Sha256: c3a224c86b6f881eb26e3c77ade42818bb1ef91c5f98cecba43f1a5dc8a5f4b4

Contents?: true

Size: 919 Bytes

Versions: 2

Compression:

Stored size: 919 Bytes

Contents

task :release do
  puts "Remember to create tag your release; eg for Git:"
  puts "  git tag REL-#{$hoe.version}"
end

desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
task :local_deploy => [:generator_report, :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'] == $hoe.version
    puts "Please update your version.rb to match the release version, currently #{$hoe.version}"
    exit
  end
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

2 entries across 2 versions & 1 rubygems

Version Path
newgem-1.0.0 tasks/deployment.rake
newgem-1.0.1 tasks/deployment.rake