Also exclude example files

This commit is contained in:
rugk 2019-02-10 17:44:13 +01:00
parent c006eb4afc
commit 341addb283
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D

View file

@ -18,6 +18,7 @@ cp "./scripts/manifests/firefox.json" "./src/manifest.json" || exit
cd src || exit
zip -r -FS "../build/$EXTENSION_NAME.xpi" ./* -x "tests/*" -x "**/tests/*" \
-x "docs/*" -x "**/docs/*" \
-x "example/*" -x "**/example/*" -x "**/*.example" \
-x "**/README.md" -x "**/CONTRIBUTING.md" -x "**/manifest.json" \
-x "**/.git" -x "**/.gitignore" -x "**/.gitmodules" -x "**/.eslintrc" \
-x "**/.editorconfig"