Skip to content

Commit

Permalink
Switch from exclude to include list in dist script
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Mar 19, 2022
1 parent 73f5cbf commit d760ddf
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,7 @@ set -ex
mkdir -p dist
rm -f dist/bibbot.zip
npm run build
zip -r -FS dist/bibbot.zip * --exclude '*.git*' \
--exclude '*/.DS_Store' \
--exclude '.*' \
--exclude 'node_modules/*' \
--exclude 'dist/*' \
--exclude 'src/*' \
--exclude 'test_build/*' \
--exclude 'tests/*' \
--exclude '*.sh' \
--exclude '*.config.js' \
--exclude 'package*.json' \
--exclude 'screenshots/*' \
--exclude '_site/*' \
--exclude 'updates.json' \
--exclude 'index.html' \
--exclude 'web-ext-artifacts/*'
zip -r -FS dist/bibbot.zip LICENSE README.md assets/* build/* icons/* manifest.json options/* popup/*

rm -rf dist/bibbot
unzip dist/bibbot.zip -d dist/bibbot

0 comments on commit d760ddf

Please sign in to comment.