Improve make script
This commit is contained in:
parent
3cfbdda23c
commit
c006eb4afc
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Makes a release ZIP of the add-on.
|
||||||
|
#
|
||||||
|
|
||||||
EXTENSION_NAME="mastodon-auto-remote-follow@rugk.github.io"
|
EXTENSION_NAME="mastodon-auto-remote-follow@rugk.github.io"
|
||||||
|
|
||||||
|
@ -14,6 +17,7 @@ cp "./scripts/manifests/firefox.json" "./src/manifest.json" || exit
|
||||||
# create zip
|
# create zip
|
||||||
cd src || exit
|
cd src || exit
|
||||||
zip -r -FS "../build/$EXTENSION_NAME.xpi" ./* -x "tests/*" -x "**/tests/*" \
|
zip -r -FS "../build/$EXTENSION_NAME.xpi" ./* -x "tests/*" -x "**/tests/*" \
|
||||||
|
-x "docs/*" -x "**/docs/*" \
|
||||||
-x "**/README.md" -x "**/CONTRIBUTING.md" -x "**/manifest.json" \
|
-x "**/README.md" -x "**/CONTRIBUTING.md" -x "**/manifest.json" \
|
||||||
-x "**/.git" -x "**/.gitignore" -x "**/.gitmodules" -x "**/.eslintrc" \
|
-x "**/.git" -x "**/.gitignore" -x "**/.gitmodules" -x "**/.eslintrc" \
|
||||||
-x "**/.editorconfig"
|
-x "**/.editorconfig"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue