This is a documentation file for this plugin's developers.
This project requires
-
Install the required Python version:
pyenv install
-
Set up Pipenv:
pipenv install --dev
-
Install Lefthook:
lefthook install
- Run unit tests and MyPy with
testall
. - Test supported Anki versions (2.1.49 and latest) by packaging the plugin and importing the plugin into the lowest and the newest support Anki.
-
Create a release commit.
- Bump up the package version in
imagescaler/manifest.json
. - Tag the release commit
git tag vx.y.z && git push origin vx.y.z
.
- Bump up the package version in
-
Use the
dev/bin/package
tool to createimagescaler.ankiaddon
. -
Create a GitHub release:
gh release create vx.y.z imagescaler.ankiaddon
.
The plugin is published and distributed on AnkiWeb.