27 lines
643 B
Makefile
27 lines
643 B
Makefile
.PHONY: help install sync run clean
|
|
|
|
help:
|
|
@echo "Please use `make <target> -f Makefile.mk` where <target> is one of"
|
|
@echo " install to install dependencies using uv"
|
|
@echo " sync to sync dependencies using uv"
|
|
@echo " run to run the application"
|
|
@echo " clean to remove temporary files"
|
|
|
|
# Install dependencies
|
|
install:
|
|
uv pip install -r requirements.txt
|
|
|
|
# Sync dependencies
|
|
sync:
|
|
uv pip sync requirements.txt
|
|
|
|
# Run the application
|
|
run:
|
|
uv run python main.py
|
|
|
|
# Clean up temporary files
|
|
clean:
|
|
find . -type f -name "*.py[co]" -delete
|
|
find . -type d -name "__pycache__" -delete
|
|
rm -rf .ipynb_checkpoints
|