Skip to content

Commit

Permalink
fix(infra): update makefile (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Oct 7, 2023
1 parent 79360f1 commit 0064240
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ SHELL := /bin/bash

.DEFAULT_GOAL:=help
.ONESHELL:
USING_PDM = $(shell grep "tool.pdm" pyproject.toml && echo "yes")
ENV_PREFIX = $(shell python3 -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')")
VENV_EXISTS = $(shell python3 -c "if __import__('pathlib').Path('.venv/bin/activate').exists(): print('yes')")
PDM_OPTS ?=
PDM ?= pdm $(PDM_OPTS)
USING_PDM = $(shell grep "tool.pdm" pyproject.toml && echo "yes")
ENV_PREFIX := $(shell if [ -d .venv ]; then echo ".venv/bin/"; fi)
VENV_EXISTS := $(shell if [ -d .venv ]; then echo "yes"; fi)
PDM_OPTS ?=
PDM ?= pdm $(PDM_OPTS)

.EXPORT_ALL_VARIABLES:

Expand Down

0 comments on commit 0064240

Please sign in to comment.