Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.47 KB

README_DEV.md

File metadata and controls

52 lines (33 loc) · 1.47 KB

Developer Notes for MacNotesApp

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.

Development Environment

MacNotesApp uses poetry for dependency management and virtual environments. To set up a development environment, run the following commands:

poetry install --all-extras
poetry shell

Version Management

Versioning is handled with bump2version. To bump the version, run the following command:

bump2version <major|minor|patch> --verbose

Building

The build.sh script will build the project and package it for distribution. To build the project, run the following command:

./build.sh

Testing

The 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/

Documentation

The documentation is maintained in the docs/ directory. The documentation is built with mkdocs. To build the documentation, run the following command:

mkdocs build

To deploy the documentation to GitHub Pages, run the following command:

mkdocs gh-deploy

The docs will be built (but not deployed) when you run the ./build.sh script.