Files
LuaCsForBarotraumaEP/luacs-docs/lua/scripts/generate_docs.sh
2022-08-10 05:36:16 -04:00

15 lines
297 B
Bash
Executable File

#!/usr/bin/env bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
cd "$DIR/LuaDocsGenerator"
if ! command -v "dotnet" &> /dev/null; then
if [[ -z "dotnet" ]]; then
echo "dotnet not found"
fi
exit 1
fi
dotnet build -clp:"ErrorsOnly;Summary"
dotnet run --no-build