Files
dash-api/Makefile.mk

27 lines
643 B
Makefile
Raw Permalink Normal View History

2025-09-10 22:00:21 +02:00
.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