Skip to content

Commit ccbbbba

Browse files
committed
refactor: move uv to PATH an act
1 parent cd42103 commit ccbbbba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ ROOT_MAKEFILE:=$(abspath $(patsubst %/, %, $(dir $(abspath $(lastword $(MAKEFILE
33
include $(ROOT_MAKEFILE)/.env
44

55
export
6+
export PATH := $(PATH):$(shell pwd)/$(UV_INSTALL_DIR)
67

78
$(eval UVEL := $(shell which uv && echo "true" || echo ""))
89
UVE = $(if ${UVEL},'uv',$(UV_INSTALL_DIR)/uv)
9-
UV_ENV := $(UV_INSTALL_DIR)/env
1010

1111
dev: setup
1212
$(UVE) sync --frozen --all-groups
@@ -34,7 +34,7 @@ setup:
3434
RAN := $(shell awk 'BEGIN{srand();printf("%d", 65536*rand())}')
3535

3636
runAct:
37-
echo "source .venv/bin/activate; source $(UV_ENV); rm /tmp/$(RAN)" > /tmp/$(RAN)
37+
echo "source .venv/bin/activate; rm /tmp/$(RAN)" > /tmp/$(RAN)
3838
bash --init-file /tmp/$(RAN)
3939

4040
runChecks:

0 commit comments

Comments
 (0)