Skip to content

Commit af02ffa

Browse files
chore(dev): create Makefile for modular application
1 parent a399fc6 commit af02ffa

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

Makefile

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
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
22

33
# Help command
44
help:
55
@echo "BINGO Application Makefile Commands"
66
@echo ""
77
@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"
1718

1819
# Install dependencies
1920
install:
2021
poetry install
2122

22-
# Run application
23+
# Run application (modular version)
2324
run:
24-
poetry run python main.py
25-
26-
# Run modular app (when available)
27-
run-modular:
2825
poetry run python app.py
2926

27+
# Run original monolithic application
28+
run-monolithic:
29+
poetry run python main.py
30+
3031
# Run tests
3132
test:
3233
poetry run pytest --cov=src

0 commit comments

Comments
 (0)