1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-16 06:10:08 -07:00
mailhops-plugin/build.sh
Mihai Moldovan 28f89f5228 build.sh: prevent shell from interpreting patterns.
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).
2024-04-17 08:29:02 +02:00

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'