ydl-web-ui/Makefile

13 lines
252 B
Makefile
Raw Normal View History

2023-02-19 01:32:35 +03:00
SRCDIR = web_ui
YDL_API_HOST ?=
css:
npx tailwindcss -i input.css -o $(SRCDIR)/static/style.css --watch
run:
DEBUG=1 YDL_API_HOST=$(YDL_API_HOST) pipenv run python $(SRCDIR)/router.py
lint:
pipenv run black $(SRCDIR)
pipenv run pylint $(SRCDIR)