Refactor LuaDocs generator
This commit is contained in:
14
luacs-docs/lua/scripts/generate_docs.sh
Executable file
14
luacs-docs/lua/scripts/generate_docs.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user