You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
313 B
Makefile
19 lines
313 B
Makefile
# Define variables
|
|
POETRY = poetry
|
|
PYTHON = $(POETRY) run python
|
|
APP = src/server.py
|
|
|
|
# Targets and their rules
|
|
|
|
# Install dependencies
|
|
install:
|
|
$(POETRY) install
|
|
|
|
# Run the application
|
|
run:
|
|
python run.py
|
|
|
|
# Run unit tests
|
|
test:
|
|
@export PYTHONPATH=$${PYTHONPATH}:$(shell pwd) && pytest tests/unit/ --color=yes
|