From 34842866233a38e620ceb51194ea983676ae8ab0 Mon Sep 17 00:00:00 2001 From: rugk Date: Sat, 15 Dec 2018 16:32:44 +0100 Subject: [PATCH] Update make script --- .vscode/launch.json | 12 ------------ scripts/make.sh | 5 ++++- 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 .vscode/launch.json 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