From df16ab95ab6d8b91e2cafc78cbc35196eb7b5988 Mon Sep 17 00:00:00 2001 From: buddho Date: Mon, 5 Aug 2024 15:15:46 +0800 Subject: [PATCH] Makefile: use docker compose v2 instead of v1 (#2628) --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4b4606886..30a36697c 100644 --- a/Makefile +++ b/Makefile @@ -29,11 +29,11 @@ truffle-test: docker build . -f ./docker/Dockerfile --target bsc-genesis -t bsc-genesis docker build . -f ./docker/Dockerfile --target bsc -t bsc docker build . -f ./docker/Dockerfile.truffle -t truffle-test - docker-compose -f ./tests/truffle/docker-compose.yml up genesis - docker-compose -f ./tests/truffle/docker-compose.yml up -d bsc-rpc bsc-validator1 + docker compose -f ./tests/truffle/docker-compose.yml up genesis + docker compose -f ./tests/truffle/docker-compose.yml up -d bsc-rpc bsc-validator1 sleep 30 - docker-compose -f ./tests/truffle/docker-compose.yml up --exit-code-from truffle-test truffle-test - docker-compose -f ./tests/truffle/docker-compose.yml down + docker compose -f ./tests/truffle/docker-compose.yml up --exit-code-from truffle-test truffle-test + docker compose -f ./tests/truffle/docker-compose.yml down #? lint: Run certain pre-selected linters lint: ## Run linters.