🔨 Update internal scripts and remove unused ones (#11499)

This commit is contained in:
Sebastián Ramírez 2024-04-29 17:03:14 -07:00 committed by GitHub
parent 13ce009e9a
commit f49da74200
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 2 additions and 42 deletions

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -e
set -x
# Check README.md is up to date
python ./scripts/docs.py verify-docs
python ./scripts/docs.py build-all

View File

@ -1,8 +0,0 @@
#!/bin/sh -e
if [ -d 'dist' ] ; then
rm -r dist
fi
if [ -d 'site' ] ; then
rm -r site
fi

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -e
mkdocs serve --dev-addr 0.0.0.0:8008

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
set -x
ruff fastapi tests docs_src scripts --fix
ruff check fastapi tests docs_src scripts --fix
ruff format fastapi tests docs_src scripts

View File

@ -4,5 +4,5 @@ set -e
set -x
mypy fastapi
ruff fastapi tests docs_src scripts
ruff check fastapi tests docs_src scripts
ruff format fastapi tests --check

View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
set -x
set -e
# Install pip
cd /tmp
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.6 get-pip.py --user
cd -
# Install Flit to be able to install all
python3.6 -m pip install --user flit
# Install with Flit
python3.6 -m flit install --user --extras doc
# Finally, run mkdocs
python3.6 -m mkdocs build

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -e
flit publish