title: Compress specific files in grunt
body: <p>I am trying to compress few files in a folder and avoid files that are not required,</p>
  <p>Structure:</p>
  <pre><code>    MainFolder-
      File1
      File2
      File3
      SubFolder1WithFilesInside
      SubFolder2WithFilesInside
      FolderToStoreZip
  </code></pre>
  <p>So I create an array</p>
  <pre><code>filesToPutInZip = [ 'MainFolder/File1', 'MainFolder/File2', 'MainFolder/SubFolder1WithFilesInside/**']
  </code></pre>
  <p>and called grunt compress</p>
  <pre><code>    compress:{
          main: {
              options:{
                  archive: './FolderToStoreZip/final.zip',
                  mode: 'zip'
              }
              src: filesToPutInZip
          }
      }
  </code></pre>
  <p>It gives me a zip file with MainFolder inside it.</p>
  <p>So I also tried with cwd</p>
  <pre><code>    compress:{
          main: {
              options:{
                  archive: './FolderToStoreZip/final.zip',
                  mode: 'zip'
              }
              cwd: 'MainFolder/'
              src: filesToPutInZip
          }
      }
  </code></pre>
  <p>but it gives me an empty zip file.</p>
  <p>And if I try to src <code>MainFolder/**</code> it will take all the files and folder</p>