File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ CLI_ARGS=$1
30
30
# Requirement arguments passed to pip and used by default or with --dev.
31
31
REQUIREMENTS=" --editable . --constraint requirements.txt"
32
32
DEV_REQUIREMENTS=" --editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
33
+ DOCS_REQUIREMENTS=" --editable .[docs] --constraint requirements.txt"
33
34
34
35
# where we create a virtualenv
35
36
VIRTUALENV_DIR=venv
@@ -177,6 +178,7 @@ while getopts :-: optchar; do
177
178
help ) cli_help;;
178
179
clean ) find_python && clean;;
179
180
dev ) CFG_REQUIREMENTS=" $DEV_REQUIREMENTS " ;;
181
+ docs ) CFG_REQUIREMENTS=" $DOCS_REQUIREMENTS " ;;
180
182
esac ;;
181
183
esac
182
184
done
Original file line number Diff line number Diff line change 28
28
@ rem # Requirement arguments passed to pip and used by default or with --dev.
29
29
set " REQUIREMENTS = --editable . --constraint requirements.txt"
30
30
set " DEV_REQUIREMENTS = --editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
31
+ set " DOCS_REQUIREMENTS = --editable .[docs] --constraint requirements.txt"
31
32
32
33
@ rem # where we create a virtualenv
33
34
set " VIRTUALENV_DIR = venv"
@@ -77,6 +78,9 @@ if not "%1" == "" (
77
78
if " %1 " EQU " --dev" (
78
79
set " CFG_REQUIREMENTS = %DEV_REQUIREMENTS% "
79
80
)
81
+ if " %1 " EQU " --docs" (
82
+ set " CFG_REQUIREMENTS = %DOCS_REQUIREMENTS% "
83
+ )
80
84
shift
81
85
goto again
82
86
)
You can’t perform that action at this time.
0 commit comments