Skip to content

Commit b01cb20

Browse files
committed
Make sure uv.lock exists
1 parent bde1ba3 commit b01cb20

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ fmt: dev
5959
install: build
6060
$(UV) pip install dist/*.whl
6161

62-
uv.lock: dev
62+
$(UV_LOCK): dev
6363
$(UV) lock
64-
it: uv.lock
64+
it: $(UV_LOCK)
6565
$(MAKE) -C ./integration
6666

6767
lint: dev

integration/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ preview:
7171

7272
# Build Dockerfile
7373
build:
74+
make -C .. $(UV_LOCK)
7475
docker build -t $(DOCKER_PROJECT_IMAGE_TAG) ..
7576

7677
# Tear down resources.

vars.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ PYTHON ?= $(shell command -v python || command -v python3)
2020
UV ?= uv
2121
# uv defaults virtual environment to `$VIRTUAL_ENV` if set; otherwise .venv
2222
VIRTUAL_ENV ?= .venv
23+
24+
UV_LOCK := uv.lock

0 commit comments

Comments
 (0)