Remove setenv.ps1 file no longer used. Fixes #4657.

This file has been broken for some time since the msbuild version was introduced.
This commit is contained in:
duncanspumpkin 2016-10-20 17:50:15 +01:00
parent 81bb6cb950
commit 8187b4a4d1
1 changed files with 0 additions and 38 deletions

View File

@ -1,38 +0,0 @@
###########################################################
# Setups a PowerShell environment for OpenRCT2 development
###########################################################
# Setup
$ErrorActionPreference = "Stop"
$rootPath = Split-Path $Script:MyInvocation.MyCommand.Path
$scriptsPath = "$rootPath\scripts\ps"
Import-Module "$scriptsPath\common.psm1" -DisableNameChecking
Write-Host "Setting up OpenRCT2 development environment for Windows" -ForegroundColor Cyan
$appExists = @{}
$appExists["msbuild"] = AppExists("msbuild");
$appExists["7za"] = AppExists("7za");
$appExists["7z"] = AppExists("7z");
if (-not $appExists["msbuild"])
{
if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64")
{
$lookPath = Join-Path ${env:ProgramFiles(x86)} "MSBuild\14.0\Bin\amd64\MSBuild.exe"
}
else
{
$lookPath = Join-Path $env:ProgramFiles "MSBuild\14.0\Bin\MSBuild.exe"
}
if (Test-Path $lookPath)
{
AddPath(Split-Path $lookPath)
}
else
{
Write-Host "Warning: msbuild not found, please include it in your PATH" -ForegroundColor Yellow
}
}
AddPath($scriptsPath)