mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
514 B
Bash
22 lines
514 B
Bash
10 years ago
|
#!/bin/sh
|
||
|
set -x
|
||
|
|
||
|
CHECKOUT_DIR=".ansible-checkout"
|
||
|
MOD_REPO="$1"
|
||
|
|
||
|
# Hidden file to avoid the module_formatter recursing into the checkout
|
||
|
git clone https://github.com/ansible/ansible "$CHECKOUT_DIR"
|
||
|
cd "$CHECKOUT_DIR"
|
||
|
git submodule update --init
|
||
|
rm -rf "lib/ansible/modules/$MOD_REPO"
|
||
|
ln -s "$TRAVIS_BUILD_DIR/" "lib/ansible/modules/$MOD_REPO"
|
||
|
|
||
|
pip install -U Jinja2 PyYAML setuptools six pycrypto sphinx
|
||
|
|
||
|
. ./hacking/env-setup
|
||
|
PAGER=/bin/cat bin/ansible-doc -l
|
||
|
if [ $? -ne 0 ] ; then
|
||
|
exit $?
|
||
|
fi
|
||
|
make -C docsite
|