docs(mk): added doxygen commands to build docs

when running ./mk --docs the docs will also be build with the code itself and the tests
This commit is contained in:
2025-01-19 12:23:34 -05:00
parent d090ddaabe
commit c782ff644a

7
mk
View File

@@ -19,3 +19,10 @@ meson compile -C build
if [[ "$1" != "--noTest" ]]; then
meson test -C build
fi
# Check if --docs are to be built
if [[ "$*" == *"--docs"* ]]; then
echo "Generating documentation..."
doxygen
cd docs/latex && make
fi