-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (38 loc) · 1.32 KB
/
Makefile
File metadata and controls
55 lines (38 loc) · 1.32 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
52
53
54
55
.PHONY: run test screenshot test-llm test-calendar test-things test-ui test-ui-external debug-render test-skill-passnote app app-dev app-clean
uv = /opt/homebrew/bin/uv
run:
$(uv) run -m macllm --debug
run-debug:
$(uv) run -m macllm --debug --debuglitellm
QUERY ?= What is the URL of Google
test-llm:
QUERY="$(QUERY)" $(uv) run python -m pytest -v -s test/manual_tests/llm_check.py
test:
$(uv) run python -m pytest -rx -v
# Verify /passnote-style expansion: fixture skill body must enter the agent prompt.
test-skill-passnote:
$(uv) run python -m pytest -rx -v test/core/test_skill_passnote_makefile.py
test-external:
$(uv) run python -m pytest -v -m external
test-calendar:
$(uv) run python -m pytest -v -m calendar
test-things:
$(uv) run python -m pytest -v -m things
test-ui:
$(uv) run python -m pytest -v -m uitest
test-ui-external:
$(uv) run python -m pytest -v -m uitest_external
screenshot:
$(uv) run -m macllm --show-window &
sleep 3
$(uv) run -m macllm.utils.screenshot --output ./macllm_test_screenshot.png
pkill -f "macllm --show-window" || true
debug-render:
rm -f ./debug_screenshot.png
$(uv) run -m macllm --query "$(QUERY)" --screenshot ./debug_screenshot.png
app:
$(uv) run python setup.py py2app --semi-standalone
app-dev:
$(uv) run python setup.py py2app --alias
app-clean:
rm -rf build dist .eggs