Skip to content

Commit dce0ecb

Browse files
pchoteabcdefg30
authored andcommitted
Remove broken 'docs' target from the windows make script.
1 parent 71bbf8c commit dce0ecb

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

make.ps1

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -147,20 +147,6 @@ function Check-Scripts-Command
147147
}
148148
}
149149

150-
function Docs-Command
151-
{
152-
if ((CheckForUtility) -eq 1)
153-
{
154-
return
155-
}
156-
157-
./make.ps1 version
158-
InvokeCommand "$utilityPath $modID --docs | Out-File -Encoding 'UTF8' DOCUMENTATION.md"
159-
InvokeCommand "$utilityPath $modID --weapon-docs | Out-File -Encoding "UTF8" WEAPONS.md"
160-
InvokeCommand "$utilityPath $modID --lua-docs | Out-File -Encoding 'UTF8' Lua-API.md"
161-
echo "Docs generated." -ForegroundColor Green
162-
}
163-
164150
function CheckForUtility
165151
{
166152
if (Test-Path $utilityPath)
@@ -280,7 +266,6 @@ if ($args.Length -eq 0)
280266
echo " test Tests the mod's MiniYAML for errors."
281267
echo " check Checks .cs files for StyleCop violations."
282268
echo " check-scripts Checks .lua files for syntax errors."
283-
echo " docs Generates the trait and Lua API documentation."
284269
echo ""
285270
$command = (Read-Host "Enter command").Split(' ', 2)
286271
}
@@ -402,7 +387,6 @@ switch ($execute)
402387
"test" { Test-Command }
403388
"check" { Check-Command }
404389
"check-scripts" { Check-Scripts-Command }
405-
"docs" { Docs-Command }
406390
Default { echo ("Invalid command '{0}'" -f $command) }
407391
}
408392

0 commit comments

Comments
 (0)