You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brocksamson edited this page Jul 26, 2011
·
3 revisions
The UnZipTask allows you to unzip files in an archive
How to use the UnZipTask
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