Skip to content

Commit 09a995c

Browse files
committed
(GH-29) Trying to fix broken build
- Added an issue when it comes to testing for and installed PSBuild. The test works locally, but causes issues on AppVeyor. Haven't figured out what is causing this yet, so let's just always install it for now
1 parent e53bb08 commit 09a995c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

BuildScripts/default.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,14 @@ Task -Name __InstallPSBuild -Description $private -Action {
324324
try {
325325
Write-Output "Running Install PSBuild..."
326326

327-
exec {
328-
if (-not (test-CommandExists Invoke-MSBuild)) {
329-
Write-Output "PSBuild is not already installed";
327+
exec {
328+
# This test works locally, but not on AppVeyor
329+
# if (-not (test-CommandExists Invoke-MSBuild)) {
330+
# Write-Output "PSBuild is not already installed";
330331
(new-object Net.WebClient).DownloadString("https://raw.github.com/ligershark/psbuild/master/src/GetPSBuild.ps1") | Invoke-Expression;
331-
} else {
332-
Write-Output "PSBuild is already installed";
333-
}
332+
# } else {
333+
# Write-Output "PSBuild is already installed";
334+
# }
334335
}
335336

336337
Write-Output ("************ Install PSBuild Successful ************")

0 commit comments

Comments
 (0)