deploy Windows setup exe via AppVeyor only

This commit is contained in:
Matthias Mailänder
2015-01-17 13:18:11 +01:00
parent 55b858051d
commit 601022f582
5 changed files with 57 additions and 26 deletions

View File

@@ -30,6 +30,7 @@ if ($args.Length -eq 0)
echo " 'dependencies' commands to restore removed files."
echo " test Tests the default mods for errors."
echo " check Checks .cs files for StyleCop violations."
echo " docs Generates the trait and Lua API documentation."
echo ""
$command = (Read-Host "Enter command").Split(' ', 2)
}
@@ -156,6 +157,11 @@ elseif ($command -eq "check")
echo "Checking for code style violations in OpenRA.TilesetBuilder..."
./OpenRA.Utility.exe cnc --check-code-style OpenRA.TilesetBuilder
}
elseif ($command -eq "docs")
{
./OpenRA.Utility.exe d2k --docs | Out-File DOCUMENTATION.md
./OpenRA.Utility.exe ra --lua-docs | Out-File Lua-API.md
}
else
{
echo ("Invalid command '{0}'" -f $command)