You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add CI-specific targets (quality, ci-native, ci-docker)
- Support both uv and pip package managers
- Add environment detection for flexible tooling
- Implement ci-setup for environment info display
- Add clean-docker target for container cleanup
- Separate test targets by component type
- Add format-check for CI validation
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: Makefile
+81-6Lines changed: 81 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# CLI Patterns Makefile
2
2
# Development and testing automation
3
3
4
-
.PHONY: help install test test-unit test-integration test-coverage test-parser test-executor test-design test-fast test-components lint type-check format clean all
4
+
.PHONY: help install test test-unit test-integration test-coverage test-parser test-executor test-design test-fast test-components lint type-check format clean clean-docker all quality format-check ci-setup ci-native ci-docker verify-sync benchmark test-all ci-summary
5
5
6
6
# Default target
7
7
help:
@@ -21,12 +21,18 @@ help:
21
21
@echo "make type-check - Run mypy type checking"
22
22
@echo "make format - Format code with black"
23
23
@echo "make clean - Remove build artifacts and cache"
24
+
@echo "make clean-docker - Clean up Docker containers and volumes"
24
25
@echo "make all - Run format, lint, type-check, and test"
25
26
26
27
# Install dependencies
27
28
install:
28
-
uv sync
29
-
uv add --dev mypy pytest pytest-asyncio pytest-cov pre-commit black ruff
29
+
@if command -v uv > /dev/null 2>&1;then\
30
+
uv sync;\
31
+
uv add --dev mypy pytest pytest-asyncio pytest-cov pre-commit black ruff;\
32
+
else\
33
+
pip install -e .;\
34
+
pip install mypy pytest pytest-asyncio pytest-cov pre-commit black ruff;\
0 commit comments