mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Merge branch 'fix_openmwluadocumentor_in_docs' into 'master'
Fix docs See merge request OpenMW/openmw!2758
This commit is contained in:
commit
a0cddfda2b
@ -4,15 +4,18 @@ DOCS_SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
FILES_DIR=$DOCS_SOURCE_DIR/../../files
|
||||
OUTPUT_DIR=$DOCS_SOURCE_DIR/reference/lua-scripting/generated_html
|
||||
|
||||
PATH=$PATH:~/lua-5.1.5/src
|
||||
eval "$(luarocks path)"
|
||||
|
||||
if [ ! command -v openmwluadocumentor &> /dev/null ]; then
|
||||
if ! command -v openmwluadocumentor &> /dev/null
|
||||
then
|
||||
if [ -f /.dockerenv ] || [ -f /home/docs/omw_luadoc_docker ]; then
|
||||
./install_luadocumentor_in_docker.sh
|
||||
fi
|
||||
fi
|
||||
if [ ! command -v openmwluadocumentor &> /dev/null ]; then
|
||||
|
||||
PATH=$PATH:~/luarocks/bin
|
||||
eval "$(luarocks path)"
|
||||
|
||||
if ! command -v openmwluadocumentor &> /dev/null
|
||||
then
|
||||
echo "openmwluadocumentor not found; See README.md for installation instructions."
|
||||
exit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user