2021-09-13 02:18:29 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [ -d src/__pycache__ ]; then
|
|
|
|
rm -r src/__pycache__
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd src
|
2022-10-10 18:55:54 +02:00
|
|
|
zip -r ../editor-preview.ankiaddon --exclude meta.json -- *
|
2021-09-13 02:18:29 +02:00
|
|
|
cd ..
|
|
|
|
unzip -l editor-preview.ankiaddon
|