musicdlp/Makefile

20 lines
354 B
Makefile
Raw Permalink Normal View History

2024-05-28 09:34:01 +03:00
.PHONY: run run-backend run-frontend test
2024-04-28 12:06:34 +03:00
run:
# See backend/config.py for more fields
HOST=127.0.0.1 PORT=4009 \
COOKIES_DIR=cookies \
python3 ./backend/main.py
2024-04-28 12:06:34 +03:00
2024-05-28 09:34:01 +03:00
run-backend: run
2024-04-28 12:06:34 +03:00
2024-05-28 09:34:01 +03:00
run-frontend:
@echo 'Only for development environment!'
caddy run
2024-04-28 12:06:34 +03:00
2024-05-28 09:34:01 +03:00
test:
python3 -m unittest discover -vcs ./backend
2024-05-28 10:10:38 +03:00
clean:
rm -rf backend/__pycache__ .ruff_cache