-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (33 loc) · 855 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (33 loc) · 855 Bytes
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
SHELL := /usr/bin/env bash
.EXPORT_ALL_VARIABLES:
# ================================
# ENVIRONMENTAL VARIABLES
# ================================
IMAGE_REGISTRY :=
IMAGE_TAG := local
PYTHONPATH := .
CURRENT_DIR := $(shell pwd)
.PHONY: check-pip
check-pip:
uv pip check
.PHONY: check-lint
check-lint:
uv run ruff check src tests --quiet
.PHONY: check-format
check-format:
uv run ruff format src tests --check --quiet
.PHONY: docker-cleanup
docker-cleanup:
docker container kill $(shell docker container ls -qa) || true
docker container rm $(shell docker container ls -qa) || true
docker volume rm $(shell docker volume ls -q) || true
docker network prune -f
docker system prune -f
.PHONY: dev-up
dev-up:
docker compose up -d
.PHONY: dev-down
dev-down:
docker compose down
run:
uv run -m src.server & (cd frontend && bun run dev) & wait