-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (26 loc) · 1.3 KB
/
Makefile
File metadata and controls
41 lines (26 loc) · 1.3 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
SHELL := /bin/bash
LOOP_MIN_AVAILABLE_MIB ?= 3072
.PHONY: check lint typecheck test coverage rustdoc-check py-integration-gate ignored-repl-gate proptest-gate claude-adapter-gate docs-check review verify
check: typecheck test
lint:
cd rlm-core && cargo fmt --check
typecheck:
cd rlm-core && cargo check --quiet
test:
cd rlm-core && cargo test --quiet
coverage:
./scripts/run_coverage.sh
rustdoc-check:
cd rlm-core && RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
py-integration-gate:
LOOP_MIN_AVAILABLE_MIB=$(LOOP_MIN_AVAILABLE_MIB) ./scripts/run_vg_py_integration_gate.sh
ignored-repl-gate:
LOOP_MIN_AVAILABLE_MIB=$(LOOP_MIN_AVAILABLE_MIB) ./scripts/safe_run.sh bash -lc 'cd /Users/rand/src/loop/rlm-core && cargo test --no-default-features --features gemini test_repl_spawn -- --ignored --test-threads=1 && cargo test --no-default-features --features gemini test_lean_repl_spawn -- --ignored --test-threads=1'
proptest-gate:
LOOP_MIN_AVAILABLE_MIB=$(LOOP_MIN_AVAILABLE_MIB) ./scripts/run_vg_proptest_gate.sh
claude-adapter-gate:
LOOP_MIN_AVAILABLE_MIB=$(LOOP_MIN_AVAILABLE_MIB) ./scripts/run_vg_claude_adapter_e2e_gate.sh
docs-check:
./scripts/check_docs_style.sh
review: typecheck rustdoc-check docs-check
verify: check rustdoc-check py-integration-gate proptest-gate claude-adapter-gate docs-check