- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
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:
:package |
Create all the requested package files. |
:clobber_package |
Delete all the package files. This target is automatically added to the main clobber target. |
:repackage |
Rebuild the package files from scratch, even if they are not out of date. |
"package_dir/name-version.tgz" |
Create a gzipped tar package (if need_tar is true). |
"package_dir/name-version.tar.gz" |
Create a gzipped tar package (if need_tar_gz is true). |
"package_dir/name-version.tar.bz2" |
Create a bzip2’d tar package (if need_tar_bz2 is true). |
"package_dir/name-version.zip" |
Create a zip package archive (if need_zip is true). |
Example:
Rake::PackageTask.new("rake", "1.2.3") do |p| p.need_tar = true p.package_files.include("lib/**/*.rb") end