Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ VENV_DIR ?= .venv
POETRY ?= poetry
POETRY_PYTHON ?= python

# Any non-empty CI value (even 'false' or '0') means that CI is enabled
CI ?=

.PHONY: all init_env install clean lint format test

-include .env
Expand All @@ -10,7 +13,7 @@ export
all: build

init_env:
$(POETRY) env use $(POETRY_PYTHON)
$(if $(CI),,$(POETRY) env use $(POETRY_PYTHON))

install: init_env
$(POETRY) install
Expand Down
Loading