Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: install dev test lint format clean help run run-remote remote-attach remote-stop \
.PHONY: install dev test lint format clean help run run-watch run-remote remote-attach remote-stop \
bump-patch bump-minor bump-major release version

# Default target
Expand All @@ -11,6 +11,7 @@ help:
@echo " format - Format code"
@echo " clean - Clean up generated files"
@echo " run - Run the bot"
@echo " run-watch - Run the bot with auto-restart on code changes"
@echo " version - Show current version"
@echo " bump-patch - Bump patch version (1.2.0 -> 1.2.1), commit, and tag"
@echo " bump-minor - Bump minor version (1.2.0 -> 1.3.0), commit, and tag"
Expand Down Expand Up @@ -49,6 +50,9 @@ clean:
run:
poetry run claude-telegram-bot

run-watch: ## Run the bot with auto-restart on src/ changes (uses watchfiles)
poetry run watchfiles "python -m src.main" src/

# For debugging
run-debug:
poetry run claude-telegram-bot --debug
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ make test # Run tests with coverage
make lint # Black + isort + flake8 + mypy
make format # Auto-format code
make run-debug # Run with debug logging
make run-watch # Run with auto-restart on code changes
```

> **Full documentation:** See the [docs index](docs/README.md) for all guides and references.
Expand Down