Skip to content

Commit

Permalink
don't add node_modules to ZIP
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Nov 14, 2016
1 parent 881387f commit 7802737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pack-chrome-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ TARGET=$PWD/dist/languagetool-webextension-chrome.zip

cd webextension
rm -i $TARGET
zip -x tests.js -x test/ -x test/\* -x languagetool-for-chrome-tests.html -r $TARGET .
zip -x node_modules/\* -x tests.js -x test/ -x test/\* -x languagetool-for-chrome-tests.html -r $TARGET .
echo "Saved to $TARGET"
cd -
2 changes: 1 addition & 1 deletion pack-firefox-webext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ TARGET=$PWD/dist/languagetool-webextension-firefox.xpi

cd webextension
rm -i $TARGET
zip -x tests.js -x test/ -x test/\* -x languagetool-for-chrome-tests.html -r $TARGET .
zip -x node_modules/\* -x tests.js -x test/ -x test/\* -x languagetool-for-chrome-tests.html -r $TARGET .
echo "Saved to $TARGET"
cd -

0 comments on commit 7802737

Please sign in to comment.