Skip to content

Commit

Permalink
updated bundle script
Browse files Browse the repository at this point in the history
  • Loading branch information
mortii committed Oct 22, 2023
1 parent a77254d commit 5ba4bf8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bundle_addon.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
rm -rf ./.pytest_cache/ ./.mypy_cache/ ankimorphs/meta.json
cd ankimorphs && zip -r ../ankimorphs.ankiaddon ./*
cd ankimorphs || { echo "cd failed"; exit 1; }
find . -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
rm meta.json
zip -r ../ankimorphs.ankiaddon ./*

0 comments on commit 5ba4bf8

Please sign in to comment.