Skip to content

Commit 439f040

Browse files
committed
[languages] migrate to compose v2
1 parent 195eec9 commit 439f040

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ SHELL=/bin/bash -euo pipefail
44
WHEEL_DIR ?= wheel_dist
55
PYTHON_VERSION?=3.11
66

7+
COMPOSE=docker compose
8+
79
clean: ## cleans the build artifacts
810
rm -Rf build/ dist/ *.egg-info $(WHEEL_DIR)
911
.PHONY: clean
@@ -37,10 +39,10 @@ doc-lint: ## Verify markdown rules
3739
.PHONY: doc-lint
3840

3941
build: build-docker clean ## build the python-conprof using a dockerized python runtime
40-
PYTHON_VERSION=$(PYTHON_VERSION) docker-compose run --rm python make update-version wheel wheel-check
42+
PYTHON_VERSION=$(PYTHON_VERSION) $(COMPOSE) run --rm python make update-version wheel wheel-check
4143

4244
build-docker:
43-
PYTHON_VERSION=$(PYTHON_VERSION) docker-compose build python
45+
PYTHON_VERSION=$(PYTHON_VERSION) $(COMPOSE) build python
4446
.PHONY: build-docker
4547

4648
release: ## release the python conprof

0 commit comments

Comments
 (0)