Skip to content

Commit f012e20

Browse files
authored
chore(deps): add uv.lock for mock-flask-api and lock targets to all Makefiles (#282)
Generates a hash-pinned uv.lock for frontend/mock-flask-api (previously missing) and adds a `make lock` target to each module and the root Makefile for easy lockfile regeneration when pyproject.toml changes. Signed-off-by: Jack Luar <jluar@precisioninno.com>
1 parent 9ede7b6 commit f012e20

6 files changed

Lines changed: 221 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
FOLDERS=backend frontend evaluation
22
GOOGLE_SECRET_JSON?=$(HOME)/secret.json
33

4+
.PHONY: lock
5+
lock:
6+
@for folder in $(FOLDERS); do (cd $$folder && make lock && cd ../); done
7+
@cd frontend/mock-flask-api && make lock
8+
49
.PHONY: init
510
init:
611
@for folder in $(FOLDERS); do (cd $$folder && make init && cd ../); done

backend/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.PHONY: lock
2+
lock:
3+
@uv lock
4+
15
.PHONY: init
26
init:
37
@uv venv .venv && \

evaluation/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.PHONY: lock
2+
lock:
3+
@uv lock
4+
15
.PHONY: init
26
init:
37
@uv sync

frontend/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.PHONY: lock
2+
lock:
3+
@uv lock
4+
15
.PHONY: init
26
init:
37
@uv venv .venv && \

frontend/mock-flask-api/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.PHONY: lock
2+
lock:
3+
@uv lock
4+
5+
.PHONY: init
6+
init:
7+
@uv venv .venv && \
8+
uv sync

0 commit comments

Comments
 (0)