File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ CLI_ARGS=$1
3030# Requirement arguments passed to pip and used by default or with --dev.
3131REQUIREMENTS=" --editable . --constraint requirements.txt"
3232DEV_REQUIREMENTS=" --editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
33+ DOCS_REQUIREMENTS=" --editable .[docs] --constraint requirements.txt"
3334
3435# where we create a virtualenv
3536VIRTUALENV_DIR=venv
@@ -177,6 +178,7 @@ while getopts :-: optchar; do
177178 help ) cli_help;;
178179 clean ) find_python && clean;;
179180 dev ) CFG_REQUIREMENTS=" $DEV_REQUIREMENTS " ;;
181+ docs ) CFG_REQUIREMENTS=" $DOCS_REQUIREMENTS " ;;
180182 esac ;;
181183 esac
182184done
Original file line number Diff line number Diff line change 2828@ rem # Requirement arguments passed to pip and used by default or with --dev.
2929set " REQUIREMENTS = --editable . --constraint requirements.txt"
3030set " DEV_REQUIREMENTS = --editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
31+ set " DOCS_REQUIREMENTS = --editable .[docs] --constraint requirements.txt"
3132
3233@ rem # where we create a virtualenv
3334set " VIRTUALENV_DIR = venv"
@@ -77,6 +78,9 @@ if not "%1" == "" (
7778 if " %1 " EQU " --dev" (
7879 set " CFG_REQUIREMENTS = %DEV_REQUIREMENTS% "
7980 )
81+ if " %1 " EQU " --docs" (
82+ set " CFG_REQUIREMENTS = %DOCS_REQUIREMENTS% "
83+ )
8084 shift
8185 goto again
8286)
You can’t perform that action at this time.
0 commit comments