These notes are to remind me of things I need to do to maintain this project. They may be useful for anyone who wants to contribute to MacNotesApp.
MacNotesApp uses poetry for dependency management and virtual environments. To set up a development environment, run the following commands:
poetry install --all-extras
poetry shellVersioning is handled with bump2version. To bump the version, run the following command:
bump2version <major|minor|patch> --verboseThe build.sh script will build the project and package it for distribution. To build the project, run the following command:
./build.shThe tests are run with pytest. The test suite is interactive and will operate on your actual Notes.app data. Because the tests require user input, they must be run with pytest -s. To run the tests, run the following command:
pytest -v -s tests/The documentation is maintained in the docs/ directory. The documentation is built with mkdocs. To build the documentation, run the following command:
mkdocs buildTo deploy the documentation to GitHub Pages, run the following command:
mkdocs gh-deployThe docs will be built (but not deployed) when you run the ./build.sh script.