-
Notifications
You must be signed in to change notification settings - Fork 71
UnZipTask
brocksamson edited this page Jul 26, 2011
·
3 revisions
The UnZipTask allows you to unzip files in an archive
The unzip task has a number of properties to find the files to zip and where to save the output.
- file – this is the filename of the zip
- destination – Where you want the contents of the zip to be extracted to. In this example, it is the same directory as your build file.
unzip do |unzip|
unzip.destination = File.dirname(__FILE__)
unzip.file = "Archive.zip"
end