ID: 478ffc7cfd061fe30f9954424a544122ab724ee0
42 lines
—
960B —
View raw
| SHELL = /bin/bash
REPOSITORY = https://github.com/cdent/gabbi.git
check_env_vars:
ifdef OUTPUT_PATH
OUTPUT_PATH := ${OUTPUT_PATH}/gabbi
else
$(error OUTPUT_PATH is undefined)
endif
venv:
python3 -m venv venv
repository:
git clone ${REPOSITORY} repository
1.49.0 2.0.4 2.1.0 2.2.0 2.3.4 2.4.0 2.5.0 2.6.0 2.7.2 2.8.0 2.9.0 2.10.0: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -r test-requirements.txt
cd docs/source/
mkdir --parents "${OUTPUT_PATH}"
sphinx-build -b dirhtml . "${OUTPUT_PATH}/$@"
0.101.2: check_env_vars venv repository
source venv/bin/activate
cd repository
git checkout tags/$@
pip install -r requirements.txt
pip install -r test-requirements.txt
cd docs/source/
mkdir --parents "${OUTPUT_PATH}"
sphinx-build -b dirhtml . "${OUTPUT_PATH}/$@"
.ONESHELL:
.SUFFIXES:
.PHONY:
.DELETE_ON_ERROR:
|