Update make script
This commit is contained in:
parent
fc5014a7bf
commit
3484286623
2 changed files with 4 additions and 13 deletions
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Launch addon",
|
|
||||||
"type": "firefox",
|
|
||||||
"request": "attach",
|
|
||||||
"addonType": "webExtension",
|
|
||||||
"addonPath": "${workspaceFolder}/src"
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
|
@ -13,7 +13,10 @@ 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" ./* --exclude "tests/*"
|
zip -r -FS "../build/$EXTENSION_NAME.xpi" ./* -x "tests/*" -x "**/tests/*" \
|
||||||
|
-x "**/README.md" -x "**/CONTRIBUTING.md" -x "**/manifest.json" \
|
||||||
|
-x "**/.git" -x "**/.gitignore" -x "**/.gitmodules" -x "**/.eslintrc" \
|
||||||
|
-x "**/.editorconfig"
|
||||||
|
|
||||||
# revert changes
|
# revert changes
|
||||||
mv LICENSE.md ../LICENSE.md
|
mv LICENSE.md ../LICENSE.md
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue