Skip to content

Commit

Permalink
ci: Clean-up the doc-setup step (#3336)
Browse files Browse the repository at this point in the history
This cleans up the melos `doc-setup` script a bit, if we're lucky it'll
make the ci build the docs again.
  • Loading branch information
spydon authored Oct 13, 2024
1 parent 51a7e26 commit 7d50bca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7d50bca

Please sign in to comment.