-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.windows
More file actions
executable file
·51 lines (40 loc) · 1.02 KB
/
Makefile.windows
File metadata and controls
executable file
·51 lines (40 loc) · 1.02 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
# Makefile.windows
# Makefile dla Windows (nmake)
install:
pip install -e .
dev:
pip install -e .[dev]
test:
pytest tests\ -v
test-coverage:
pytest tests\ --cov=src\gollm --cov-report=html --cov-report=term-missing
lint:
flake8 src tests
mypy src
format:
black src tests
isort src tests
gollm-check:
python -m gollm validate-project
python -m gollm status
clean:
if exist build rmdir /s /q build
if exist dist rmdir /s /q dist
if exist *.egg-info rmdir /s /q *.egg-info
if exist .pytest_cache rmdir /s /q .pytest_cache
if exist .coverage del .coverage
if exist htmlcov rmdir /s /q htmlcov
for /d /r . %%d in (__pycache__) do @if exist "%%d" rmdir /s /q "%%d"
for /r . %%f in (*.pyc) do @if exist "%%f" del "%%f"
build: clean
python -m build
demo:
@echo 🚀 goLLM Demo
@echo 1. Validating bad code example...
python -m gollm validate examples\bad_code.py
@echo.
@echo 2. Showing good code example...
python -m gollm validate examples\good_code.py
@echo.
@echo 3. Project status...
python -m gollm status