ydl-web-ui/Makefile

13 lines
258 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:
2023-02-19 02:36:04 +03:00
cd $(SRCDIR) && DEBUG=1 YDL_API_HOST=$(YDL_API_HOST) pipenv run python router.py
2023-02-19 01:32:35 +03:00
lint:
pipenv run black $(SRCDIR)
pipenv run pylint $(SRCDIR)