Refactor LuaDocs generator
This commit is contained in:
15
luacs-docs/lua/scripts/generate_docs.ps1
Normal file
15
luacs-docs/lua/scripts/generate_docs.ps1
Normal file
@@ -0,0 +1,15 @@
|
||||
Import-Module $PSScriptRoot/../../scripts/location.ps1
|
||||
|
||||
try {
|
||||
Change-Location $PSScriptRoot/LuaDocsGenerator
|
||||
|
||||
if ((Get-Command "dotnet" -ErrorAction SilentlyContinue) -eq $null) {
|
||||
echo "dotnet not found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
dotnet build -clp:"ErrorsOnly;Summary"
|
||||
dotnet run --no-build
|
||||
} finally {
|
||||
Restore-Location
|
||||
}
|
||||
Reference in New Issue
Block a user