Sha256: 2fa5b97dd7ebabb1b07b7fd716b7579ba5a74e267a0c5d9556ba73da33ff49a9

Contents?: true

Size: 1.86 KB

Versions: 30

Compression:

Stored size: 1.86 KB

Contents

# Installs rake tasks for gemming and packaging
#
# This file installs the 'rake package', 'rake gem' tasks and associates 
# (clobber_package, repackage, ...). It is automatically generated by Noe 
# from your .noespec file, and should therefore be configured there, under 
# the variables/rake_tasks/gem entry, as illustrated below:
#
# variables:
#   rake_tasks:
#     gem:
#       package_dir: pkg
#       need_tar: false
#       need_tar_gz: false
#       need_tar_bz2: false
#       need_zip: false
#       ...
#
# If you have specific needs requiring manual intervention on this file, 
# don't forget to set safe-override to false in your noe specification:
# 
# template-info:
#   manifest:
#     tasks/gem.rake:
#       safe-override: false
#
begin
  require 'rubygems/package_task'
  Gem::PackageTask.new($gemspec) do |t|

    # Name of the package
    t.name = $gemspec.name

    # Version of the package
    t.version = $gemspec.version
    
    # Directory used to store the package files
    t.package_dir = "pkg"
    
    # True if a gzipped tar file (tgz) should be produced
    t.need_tar = false
    
    # True if a gzipped tar file (tar.gz) should be produced
    t.need_tar_gz = false
    
    # True if a bzip2'd tar file (tar.bz2) should be produced
    t.need_tar_bz2 = false
    
    # True if a zip file should be produced (default is false)
    t.need_zip = false
    
    # List of files to be included in the package.
    t.package_files = $gemspec.files
    
    # Tar command for gzipped or bzip2ed archives.
    t.tar_command = "tar"
    
    # Zip command for zipped archives.
    t.zip_command = "zip"

  end
rescue LoadError
  task :gem do
    abort 'rubygems/package_task is not available. You should verify your rubygems installation'
  end
  task :package do
    abort 'rubygems/package_task is not available. You should verify your rubygems installation'
  end
end

Version data entries

30 entries across 30 versions & 10 rubygems

Version Path
alf-0.10.1 tasks/gem.rake
quickl-0.4.1 tasks/gem.rake
myrrha-1.2.1 tasks/gem.rake
viiite-0.1.0 tasks/gem.rake
noe-1.5.0 tasks/gem.rake
alf-0.10.0 tasks/gem.rake
myrrha-1.2.0 tasks/gem.rake
quickl-0.4.0 tasks/gem.rake
noe-1.4.0 tasks/gem.rake
quickl-0.3.0 tasks/gem.rake
myrrha-1.1.0 tasks/gem.rake
alf-0.9.3 tasks/gem.rake
myrrha-1.0.0 tasks/gem.rake
alf-0.9.2 tasks/gem.rake
alf-0.9.1 tasks/gem.rake
quickl-0.2.2 tasks/gem.rake
summaryse-1.1.0 tasks/gem.rake
summaryse-1.0.0 tasks/gem.rake
alf-0.9.0 tasks/gem.rake
quickl-0.2.1 tasks/gem.rake