From dce0ecb27cf8ac41ab52d6bfedfd99bca8134f23 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 30 Jan 2021 13:41:54 +0000 Subject: [PATCH] Remove broken 'docs' target from the windows make script. --- make.ps1 | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/make.ps1 b/make.ps1 index 2de448f..4101b14 100644 --- a/make.ps1 +++ b/make.ps1 @@ -147,20 +147,6 @@ function Check-Scripts-Command } } -function Docs-Command -{ - if ((CheckForUtility) -eq 1) - { - return - } - - ./make.ps1 version - InvokeCommand "$utilityPath $modID --docs | Out-File -Encoding 'UTF8' DOCUMENTATION.md" - InvokeCommand "$utilityPath $modID --weapon-docs | Out-File -Encoding "UTF8" WEAPONS.md" - InvokeCommand "$utilityPath $modID --lua-docs | Out-File -Encoding 'UTF8' Lua-API.md" - echo "Docs generated." -ForegroundColor Green -} - function CheckForUtility { if (Test-Path $utilityPath) @@ -280,7 +266,6 @@ if ($args.Length -eq 0) echo " test Tests the mod's MiniYAML for errors." echo " check Checks .cs files for StyleCop violations." echo " check-scripts Checks .lua files for syntax errors." - echo " docs Generates the trait and Lua API documentation." echo "" $command = (Read-Host "Enter command").Split(' ', 2) } @@ -402,7 +387,6 @@ switch ($execute) "test" { Test-Command } "check" { Check-Command } "check-scripts" { Check-Scripts-Command } - "docs" { Docs-Command } Default { echo ("Invalid command '{0}'" -f $command) } }