|
|
|
@ -4,7 +4,7 @@ set -e
|
|
|
|
|
app_root_dir="diagrams"
|
|
|
|
|
|
|
|
|
|
# NOTE: azure icon set is not latest version
|
|
|
|
|
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale" "custom" )
|
|
|
|
|
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale" )
|
|
|
|
|
|
|
|
|
|
if ! [ -x "$(command -v round)" ]; then
|
|
|
|
|
echo 'round is not installed'
|
|
|
|
@ -52,6 +52,10 @@ for pvd in "${providers[@]}"; do
|
|
|
|
|
python -m scripts.generate "$pvd"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Generate doc for custom module
|
|
|
|
|
echo "generating the docs for custom"
|
|
|
|
|
python -m scripts.generate "custom"
|
|
|
|
|
|
|
|
|
|
# run black
|
|
|
|
|
echo "linting the all the diagram modules"
|
|
|
|
|
black "$app_root_dir"/**/*.py
|
|
|
|
|