|
1 | | -.PHONY: help install test lint format clean run build docker-build docker-run |
| 1 | +.PHONY: help install test lint format clean run run-monolithic build docker-build docker-run |
2 | 2 |
|
3 | 3 | # Help command |
4 | 4 | help: |
5 | 5 | @echo "BINGO Application Makefile Commands" |
6 | 6 | @echo "" |
7 | 7 | @echo "Usage:" |
8 | | - @echo " make install - Install dependencies" |
9 | | - @echo " make run - Run the application" |
10 | | - @echo " make test - Run tests" |
11 | | - @echo " make lint - Run linters" |
12 | | - @echo " make format - Format code" |
13 | | - @echo " make clean - Clean build artifacts and cache" |
14 | | - @echo " make build - Build the package" |
15 | | - @echo " make docker-build - Build Docker image" |
16 | | - @echo " make docker-run - Run Docker container" |
| 8 | + @echo " make install - Install dependencies" |
| 9 | + @echo " make run - Run the modular application" |
| 10 | + @echo " make run-monolithic - Run the original monolithic application" |
| 11 | + @echo " make test - Run tests" |
| 12 | + @echo " make lint - Run linters" |
| 13 | + @echo " make format - Format code" |
| 14 | + @echo " make clean - Clean build artifacts and cache" |
| 15 | + @echo " make build - Build the package" |
| 16 | + @echo " make docker-build - Build Docker image" |
| 17 | + @echo " make docker-run - Run Docker container" |
17 | 18 |
|
18 | 19 | # Install dependencies |
19 | 20 | install: |
20 | 21 | poetry install |
21 | 22 |
|
22 | | -# Run application |
| 23 | +# Run application (modular version) |
23 | 24 | run: |
24 | | - poetry run python main.py |
25 | | - |
26 | | -# Run modular app (when available) |
27 | | -run-modular: |
28 | 25 | poetry run python app.py |
29 | 26 |
|
| 27 | +# Run original monolithic application |
| 28 | +run-monolithic: |
| 29 | + poetry run python main.py |
| 30 | + |
30 | 31 | # Run tests |
31 | 32 | test: |
32 | 33 | poetry run pytest --cov=src |
|
0 commit comments