Skip to content

Commit

Permalink
ci: Clean-up the doc-setup step
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Oct 11, 2024
1 parent d2d4b37 commit 562d1c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 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:"
- '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 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.
description: Prepares the environment for documentation development.

doc-build:
Expand Down

0 comments on commit 562d1c9

Please sign in to comment.