File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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-
164150function 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
You can’t perform that action at this time.
0 commit comments