mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-16 06:10:08 -07:00
We want zip to handle the include patterns. Fixes the "bug" that *.json had to be included multiple times in the list (first one was expanded to the top-level manifest.json file by the shell, second one was also expanded to the individual messages.json files within the _locales directory).
8 lines
155 B
Bash
Executable File
8 lines
155 B
Bash
Executable File
#!/bin/sh
|
|
|
|
filename='mailhops'
|
|
|
|
rm -f $filename.zip
|
|
|
|
zip -r $filename.zip ./ -i '*.js' '*.xhtml' '*.html' '*.png' '*.svg' '*.gif' '*.css' '*.json' '*.dtd'
|