Sha256: 34ce657bd6312909b4bbfc7d73c665d7cda239c9d8f2b6f6dce77cc158aaf9f2

Contents?: true

Size: 975 Bytes

Versions: 9

Compression:

Stored size: 975 Bytes

Contents

desc "Generate a #{$hoe.name}.gemspec file"
task :gemspec do
  File.open("#{$hoe.name}.gemspec", "w") do |file|
    file.puts $hoe.spec.to_ruby
  end
end

task :release do
  puts <<-EOS.gsub(/^  /,'')
  Remember to create tag your release; eg for Git:
    git tag REL-#{$hoe.version}
  
  Announce your release on RubyForge News:
    rake post_news
  EOS
end

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 lib/#{$hoe.name}.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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
newgem-1.0.7 tasks/deployment.rake
newgem-1.1.0 tasks/deployment.rake
newgem-1.2.0 tasks/deployment.rake
newgem-1.2.1 tasks/deployment.rake
newgem-1.2.2 tasks/deployment.rake
newgem-1.2.3 tasks/deployment.rake
newgem-1.3.0 tasks/deployment.rake
newgem-1.4.0 tasks/deployment.rake
newgem-1.4.1 tasks/deployment.rake