mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
- Remove appveyor - Added docker compose for building docs locally - Added manuall run of GitHub Action builds - Added paths to trigger builds
25 lines
720 B
Bash
25 lines
720 B
Bash
#!/bin/sh
|
|
|
|
# Prepare environment
|
|
cd /moose/
|
|
mkdir -p build/tools
|
|
mkdir -p build/doc
|
|
|
|
# Checkout luadocumentor
|
|
cd /moose/build/tools
|
|
if [ ! -f /moose/build/tools/luadocumentor/luadocumentor.lua ]
|
|
then
|
|
git clone --branch patch-1 --single-branch https://github.com/Applevangelist/luadocumentor.git
|
|
fi
|
|
|
|
# Run luadocumentor
|
|
cd /moose/build/tools/luadocumentor
|
|
lua luadocumentor.lua -d /moose/build/doc '/moose/Moose Development/Moose'
|
|
|
|
# Copy generated files in the MOOSE_DOCS repo if it is already there
|
|
if [ -d /moose/build/MOOSE_DOCS/Documentation ]; then
|
|
rm -rf /moose/build/MOOSE_DOCS/Documentation
|
|
mkdir -p /moose/build/MOOSE_DOCS/Documentation
|
|
cp /moose/build/doc/* /moose/build/MOOSE_DOCS/Documentation/
|
|
fi
|