Ruby latest stable (v2_5_5) - 0 notes - Superclass: TaskLib

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

Create a packaging task that will package the project into distributable files (e.g zip archive or tar files).

The PackageTask will create the following targets:


Create all the requested package files.


Delete all the package files. This target is automatically added to the main clobber target.


Rebuild the package files from scratch, even if they are not out of date.


Create a gzipped tar package (if need_tar is true).


Create a gzipped tar package (if need_tar_gz is true).


Create a bzip2’d tar package (if need_tar_bz2 is true).


Create a zip package archive (if need_zip is true).


Rake::PackageTask.new("rake", "1.2.3") do |p|
  p.need_tar = true
Show files where this class is defined (1 file)
Register or log in to add new notes.