From a703c6c3a2a83296851d58c3d60af795cdf9591f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 2 May 2021 10:07:55 -0700 Subject: [PATCH] remove now-unused build.ps1 --- windows/bin/build.ps1 | 49 ------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 windows/bin/build.ps1 diff --git a/windows/bin/build.ps1 b/windows/bin/build.ps1 deleted file mode 100644 index 2f702a435..000000000 --- a/windows/bin/build.ps1 +++ /dev/null @@ -1,49 +0,0 @@ -Param ( - [Parameter(Mandatory=$true)] - [ValidateSet("cmake", "msbuild")] - [string] - $buildsystem - , - [Parameter(Mandatory=$true)] - [ValidateSet("Release", "Debug")] - [string] - $configuration - , - [Parameter(Mandatory=$true)] - [ValidateSet("Win32", "x64")] - [string] - $platform -) - -$ErrorActionPreference = "Stop" - -if ($buildsystem -eq "cmake") { - rm -Recurse -Force -ErrorAction SilentlyContinue build - mkdir build - cd build - - cmake -G "Visual Studio 16 2019" -A $platform .. - if ($LastExitCode -ne 0) { - exit $LastExitCode - } - cmake --build . --config $configuration - if ($LastExitCode -ne 0) { - exit $LastExitCode - } - - cpack -C $configuration - if ($LastExitCode -ne 0) { - exit $LastExitCode - } -} else { - MSBuild.exe -p:Configuration=$configuration -p:Platform=$platform graphviz.sln - if ($LastExitCode -ne 0) { - exit $LastExitCode - } - if ($configuration -eq "Release") { - rm Release\Graphviz\bin\*.lastcodeanalysissucceeded - rm Release\Graphviz\bin\*.iobj - rm Release\Graphviz\bin\*.ipdb - rm Release\Graphviz\bin\*.ilk - } -} -- 2.40.0