3138d72309
Change-Id: If7ac5b41ca4ac602a100b616b37d07f658fd6a90 Signed-off-by: jdenisco <jdenisco@cisco.com>
15 lines
284 B
Bash
Executable File
15 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$1" == "venv" ]
|
|
then
|
|
python -m pip install --user virtualenv
|
|
python -m virtualenv $VENV_DIR
|
|
source $VENV_DIR/bin/activate;
|
|
pip install -r $DOCS_DIR/etc/requirements.txt
|
|
else
|
|
source $VENV_DIR/bin/activate;
|
|
make -C $DOCS_DIR $1
|
|
fi
|
|
|
|
deactivate
|