|
39 | 39 | $(MAKE) -C ./docs |
40 | 40 |
|
41 | 41 | ensure-uv: |
42 | | - @if ! command -v $(UV) >/dev/null 2>&1; then \ |
43 | | - if ! command -v pip >/dev/null 2>&1; then \ |
44 | | - $(PYTHON) -m ensurepip; \ |
45 | | - fi; \ |
46 | | - $(PYTHON) -m pip install uv; \ |
| 42 | + @if ! command -v $(UV) >/dev/null; then \ |
| 43 | + $(PYTHON) -m ensurepip && $(PYTHON) -m pip install uv; \ |
47 | 44 | fi |
48 | 45 |
|
49 | 46 | fmt: |
@@ -71,19 +68,20 @@ version: |
71 | 68 |
|
72 | 69 | help: |
73 | 70 | @echo "Makefile Targets" |
74 | | - @echo " all Run deps, dev, test, lint, and build" |
75 | | - @echo " build Build the project" |
76 | | - @echo " clean Clean up project artifacts" |
77 | | - @echo " cov Generate a coverage report" |
78 | | - @echo " cov-html Generate an HTML coverage report and open it" |
79 | | - @echo " cov-xml Generate an XML coverage report" |
80 | | - @echo " deps Install dependencies" |
81 | | - @echo " dev Install the project in editable mode" |
82 | | - @echo " docs Build the documentation" |
83 | | - @echo " fmt Format the code" |
84 | | - @echo " install Install the built project" |
85 | | - @echo " it Run integration tests" |
86 | | - @echo " lint Lint the code" |
87 | | - @echo " test Run unit tests with coverage" |
88 | | - @echo " uninstall Uninstall the project" |
89 | | - @echo " version Display the project version" |
| 71 | + @echo " all Run deps, dev, test, lint, and build" |
| 72 | + @echo " build Build the project" |
| 73 | + @echo " clean Clean up project artifacts" |
| 74 | + @echo " cov Generate a coverage report" |
| 75 | + @echo " cov-html Generate an HTML coverage report and open it" |
| 76 | + @echo " cov-xml Generate an XML coverage report" |
| 77 | + @echo " deps Install dependencies" |
| 78 | + @echo " dev Install the project in editable mode" |
| 79 | + @echo " docs Build the documentation" |
| 80 | + @echo " ensure-uv Ensure 'uv' is installed" |
| 81 | + @echo " fmt Format the code" |
| 82 | + @echo " install Install the built project" |
| 83 | + @echo " it Run integration tests" |
| 84 | + @echo " lint Lint the code" |
| 85 | + @echo " test Run unit tests with coverage" |
| 86 | + @echo " uninstall Uninstall the project" |
| 87 | + @echo " version Display the project version" |
0 commit comments