-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
44 lines (35 loc) · 819 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.PHONY: tw
tw:
npx tailwindcss -i ./app/templates/input.css -o ./app/static/output.css --watch --minify
.PHONY: install
install:
npm install -D tailwindcss @tailwindcss/typography daisyui@latest @tailwindcss/forms
pip install -e .
./install_playwright.sh
.PHONY: install-ci
install-ci:
npm install -D tailwindcss @tailwindcss/typography daisyui@latest @tailwindcss/forms
uv pip install .
playwright install --with-deps chromium
.PHONY: run
run:
uvicorn app.app:app --reload --log-level debug
.PHONY: run-ci
run-ci:
uvicorn app.app:app &
.PHONY: dev
dev:
make install
pre-commit install
.PHONY: build
build:
docker compose up --build
.PHONY: clean
clean:
rm -r ${DATA_DIR}
.PHONY: integration-test
integration-test:
go test tests/integration/*.go -v
.PHONY: unit-test
unit-test:
pytest -vvv -cov