Clone this wiki locally
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