twolfson / grunt-zip

Zip and unzip files via a grunt plugin
MIT License
87 stars 19 forks source link

'src' of undefined #34

Closed harpreetkhalsagtbit closed 9 years ago

harpreetkhalsagtbit commented 9 years ago

I am using this method

    unzip: {
      'location/to/extract/files/': 'file/to/extract.zip'
    }

defined in your readme.md but i am getting this error

'src' of undefined

then I found this after googling and it works

renameZipToDocx: {
    src: '@@All Siri Guru Granth Sahib in Gurmukhi, without Index.zip',
    dest: '@@All Siri Guru Granth Sahib in Gurmukhi, without Index.docx'
}

please check this issue....

twolfson commented 9 years ago

It sounds like a path is wrong, can you try running grunt unzip --verbose? Alternative src/dest formats can be found in the README:

https://github.com/twolfson/grunt-zip#unzip-1