mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
44 lines
802 B
Makefile
44 lines
802 B
Makefile
.PHONY: install test lint clean format type-check installer-mac installer-win
|
|
|
|
install:
|
|
pip install -e ".[dev]"
|
|
|
|
test:
|
|
pytest -p pytest_mock -v
|
|
|
|
lint:
|
|
ruff check . --fix
|
|
|
|
type-check:
|
|
uv run pyright
|
|
|
|
clean:
|
|
find . -type f -name '*.pyc' -delete
|
|
find . -type d -name '__pycache__' -exec rm -r {} +
|
|
rm -rf installer/build/
|
|
rm -rf installer/dist/
|
|
rm -f rw.*.dmg
|
|
rm -rf dist
|
|
rm -rf installer/build
|
|
rm -rf installer/dist
|
|
rm -f .coverage.*
|
|
|
|
format:
|
|
uv run ruff format .
|
|
|
|
# run inspector tool
|
|
run-dev:
|
|
uv run mcp dev src/basic_memory/mcp/main.py
|
|
|
|
# Build app installer
|
|
installer-mac:
|
|
cd installer && chmod +x make_icons.sh && ./make_icons.sh
|
|
cd installer && uv run python setup.py bdist_mac
|
|
|
|
installer-win:
|
|
cd installer && uv run python setup.py bdist_win32
|
|
|
|
|
|
update-deps:
|
|
uv lock f--upgrade
|