From 7d50bca78dde3571c81d715f3e97bef3a4c3bf6d Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Sun, 13 Oct 2024 16:46:53 +0200 Subject: [PATCH] ci: Clean-up the doc-setup step (#3336) This cleans up the melos `doc-setup` script a bit, if we're lucky it'll make the ci build the docs again. --- melos.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/melos.yaml b/melos.yaml index 02b4e197788..0c798842f04 100644 --- a/melos.yaml +++ b/melos.yaml @@ -55,13 +55,13 @@ scripts: doc-setup: steps: - - "echo Checking python version:" - - 'python3 --version && (python3 -c "import sys; sys.exit(0 if sys.version_info >= (3,8) else 2)" || (echo Error: Python 3.8+ is required && exit 1))' - - "echo Installing required python modules:" + - 'echo Checking python version:' + - 'python3 --version && python3 -c "import sys; sys.exit(0 if sys.version_info >= (3,8) else 2)" || (echo "Error: Python 3.8+ is required" && exit 1)' + - 'echo Installing required python modules:' - 'python3 -m pip install -r "$MELOS_ROOT_PATH/doc/_sphinx/requirements.txt"' - - "echo Installing dartdoc_json:" - - "dart pub global activate dartdoc_json" - - "echo Done." + - 'echo Installing dartdoc_json:' + - 'dart pub global activate dartdoc_json' + - 'echo Done.' description: Prepares the environment for documentation development. doc-build: