Skip to content

Commit

Permalink
exclude unecessary files from chrome/firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
medyo committed Dec 27, 2023
1 parent 97f774b commit 952decc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/build-chrome.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ yarn build:ext

# Zip the distribution folder
echo 'Zip the extension'
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" && cd ..
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..
2 changes: 1 addition & 1 deletion script/build-firefox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ yarn build:ext

# Zip the distribution folder
echo 'Zip the extension'
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" && cd ..
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..

#
echo 'Zip the source code'
Expand Down

0 comments on commit 952decc

Please sign in to comment.