-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (18 loc) · 796 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (18 loc) · 796 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
.PHONY: setup-sim check-sim setup-h12 check-h12 test run-planner figures
UV_ENV ?= .venv312
H12_UV_ENV ?= .venv312-h12
PYTHON ?= python3
setup-sim:
tools/setup_uv_env.sh --profile sim-hand --python 3.12 --env $(UV_ENV)
check-sim:
UV_PROJECT_ENVIRONMENT=$(UV_ENV) uv run $(PYTHON) tools/check_profile_imports.py --profile sim-hand
setup-h12:
tools/setup_uv_env.sh --profile sim-h12 --python 3.12 --env $(H12_UV_ENV)
check-h12:
UV_PROJECT_ENVIRONMENT=$(H12_UV_ENV) uv run $(PYTHON) tools/check_profile_imports.py --profile sim-h12
test:
UV_PROJECT_ENVIRONMENT=$(UV_ENV) uv run --extra test pytest -q
run-planner:
UV_PROJECT_ENVIRONMENT=$(UV_ENV) uv run $(PYTHON) -m rh56_controller.grasp_viz
figures:
UV_PROJECT_ENVIRONMENT=$(UV_ENV) uv run $(PYTHON) tools/generate_paper_figures.py