Sha256: 5ccb03ace3ce5e5f96299a3f8759a1622e33c5239ad902faef0be6a428878273

Contents?: true

Size: 958 Bytes

Versions: 16

Compression:

Stored size: 958 Bytes

Contents

require 'rubygems/package_task'

# Dynamically load the gem spec
gemspec_file = File.expand_path('../../startback.gemspec', __FILE__)
gemspec      = Kernel.eval(File.read(gemspec_file))

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
startback-0.5.5 tasks/gem.rake
startback-0.5.4 tasks/gem.rake
startback-0.5.3 tasks/gem.rake
startback-0.5.2 tasks/gem.rake
startback-0.5.1 tasks/gem.rake
startback-0.5.0 tasks/gem.rake
startback-0.4.5 tasks/gem.rake
startback-0.4.4 tasks/gem.rake
startback-0.4.3 tasks/gem.rake
startback-0.4.2 tasks/gem.rake
startback-0.4.1 tasks/gem.rake
startback-0.4.0 tasks/gem.rake
startback-0.3.2 tasks/gem.rake
startback-0.3.1 tasks/gem.rake
startback-0.3.0 tasks/gem.rake
startback-0.2.0 tasks/gem.rake