Skip to content

Commit 06b3d3f

Browse files
committed
Expand Makefile with help and install-editable commands
1 parent ad4e725 commit 06b3d3f

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

Makefile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1-
l lint:
1+
.DEFAULT_GOAL := help
2+
3+
.PHONY: help l lint install-editable
4+
5+
help: ## Show this help message
6+
@echo "Available commands:"
7+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}'
8+
9+
lint: ## Run linting (pre-commit) on all files
210
@echo "Executing lint in backend code (pre-commit)"
311
pre-commit run --show-diff-on-failure --color=always --all-files
12+
13+
l: lint
14+
15+
install-editable: ## Install the SDK in editable mode with dev dependencies
16+
@echo "Installing the SDK in editable mode"
17+
pip install -e ".[dev]"

0 commit comments

Comments
 (0)