Skip to content

Commit 5ad7381

Browse files
committed
add generate rule
Signed-off-by: Tim Li <[email protected]>
1 parent 1b879cf commit 5ad7381

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
.PHONY: pr install lint type-check test integration-test proto-check clean help
1+
.PHONY: pr install lint type-check test integration-test clean generate help
22

33
# Run all PR checks locally
4-
pr: install proto-check lint type-check test integration-test
4+
pr: install generate lint type-check test integration-test
55
@echo "All PR checks passed!"
66

77
# Install dependencies
88
install:
99
@echo "Installing dependencies..."
1010
uv sync --extra dev
1111

12+
# Generate idl files
13+
generate:
14+
@echo "Generating type files based on IDL..."
15+
uv run python scripts/generate_proto.py
16+
1217
# Run linter
1318
lint:
1419
@echo "Running Ruff linter and fixing lint issues..."

0 commit comments

Comments
 (0)