I am a beginner at using Gulp and I don't know a lot about what is possible and what not. I would like to achieve the following:
my setup for 1 project:
.dist
├── client-1
│ ├── campaign-1
│ │ ├── project-a
│ │ │ ├── css (folder)
│ │ │ ├── js (folder)
│ │ │ ├── images (folder)
│ │ │ ├── index.html
│ │ │ └── preview.html
(Every project has the same structure. I have multiple clients with different names with different campaigns.)
!! I would like to make a zip file for each project with all files and folders included, except the file preview.html. If the name can be the name of the project, that would be even better.
.dist
├── client-1
│ ├── campaign-1
│ │ ├── project-a
│ │ │ ├── css (folder)
│ │ │ ├── js (folder)
│ │ │ ├── images (folder)
│ │ │ ├── index.html
│ │ │ ├── preview.html
│ │ │ └── project-a.zip (new)
If I unzip the zipfile, I would like to see the following (not inside a folder):
- css (folder and contents)
- js (folder and contents)
- images (folder and contents)
- index.html
How can I set up Gulp task(s) to do this zipping for me?