forked from nakulbh/Meve-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (29 loc) · 838 Bytes
/
Makefile
File metadata and controls
38 lines (29 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.PHONY: help setup install run clean test lint format start
help:
@echo "MeVe Framework Commands:"
@echo ""
@echo " make setup - Install uv and dependencies"
@echo " make install - Install dependencies"
@echo " make run - Run MeVe engine"
@echo " make clean - Remove cache files"
@echo " make test - Run tests"
@echo " make lint - Run linting"
@echo " make format - Format code"
@echo " make start - Setup and run"
setup:
@which uv > /dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
@$(MAKE) install
install:
uv sync
run:
uv run meve_engine.py
clean:
rm -rf __pycache__ services/__pycache__ .pytest_cache .mypy_cache
rm -f *.pyc */*.pyc chroma-data/*.sqlite3-*
test:
uv run pytest tests/ -v
lint:
uv run ruff check .
format:
uv run black .
start: setup run