Add fuel@x86 and fuel@arm support
[releng.git] / utils / test / testapi / htmlize / doc-build.sh
1 #!/bin/bash
2
3 set -o errexit
4
5 # Create virtual environment
6 virtualenv $WORKSPACE/testapi_venv
7 source $WORKSPACE/testapi_venv/bin/activate
8
9 # Swgger Codegen Tool
10 url="http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar"
11
12 # Check for jar file locally and in the repo
13 if [ ! -f swagger-codegen-cli.jar ];
14 then
15     wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar -O swagger-codegen-cli.jar
16 fi
17
18 # Install Pre-requistics
19 pip install requests
20
21 python ./utils/test/testapi/htmlize/htmlize.py -o ${WORKSPACE}/