From 5a0c6fd0d550c48e97849a6651d938e7dba63016 Mon Sep 17 00:00:00 2001 From: JulianKropp <62835694+JulianKropp@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:31:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Downloade=20submodules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 11431e1..a0a092d 100644 --- a/makefile +++ b/makefile @@ -22,7 +22,14 @@ endif @echo "All dependencies are installed" build: -build: + @if [ ! "$$(ls -A transcription-service)" ]; then \ + git submodule update --init --recursive; \ + fi + @if [ ! "$$(ls -A changeset-grpc)" ]; then \ + git submodule update --init --recursive; \ + fi + + @cd bot && go mod tidy @cd changeset-grpc && if [ ! -d "node_modules" ]; then npm install; fi