paper-survey-agent / Makefile
DenysKovalML's picture
feat: basic ui
1374d6e
raw
history blame contribute delete
700 Bytes
.PHONY: install
install: ## Install dependencies and setup pre-commit hooks
@echo "🚀 Installing dependencies from lockfile"
@uv sync --frozen
@uv run pre-commit install
.PHONY: lint
lint: ## Run ruff linter
uv run ruff check
.PHONY: format
format: ## Format code and fix linting issues
uv run ruff format
uv run ruff check --fix
.PHONY: run-app
run-app: ## Run Gradio application
@uv run python app.py
.PHONY: help
help: ## Show this help message
@uv run python -c "import re; \
[[print(f'\033[36m{m[0]:<20}\033[0m {m[1]}') for m in re.findall(r'^([a-zA-Z_-]+):.*?## (.*)$$', open(makefile).read(), re.M)] for makefile in ('$(MAKEFILE_LIST)').strip().split()]"
.DEFAULT_GOAL := help