diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 904c428..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Launch addon", - "type": "firefox", - "request": "attach", - "addonType": "webExtension", - "addonPath": "${workspaceFolder}/src" - }, - ], -} diff --git a/scripts/make.sh b/scripts/make.sh index 330c1de..28a9872 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -13,7 +13,10 @@ cp "./scripts/manifests/firefox.json" "./src/manifest.json" || exit # create zip 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 mv LICENSE.md ../LICENSE.md