Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Updated psake build script to work with automatic package restore
Browse files Browse the repository at this point in the history
  • Loading branch information
bholdt committed Feb 19, 2014
1 parent a8370ed commit d6fd548
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions psake.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@echo off
.nuget\NuGet.exe install .nuget\packages.config -OutputDirectory packages
powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& {Import-Module '.\packages\psake.*\tools\psake.psm1'; invoke-psake .\default.ps1 %*; if ($LastExitCode -ne 0) {write-host "ERROR: $LastExitCode" -fore RED; exit $lastexitcode} }"
@echo off
.nuget\NuGet.exe install .nuget\packages.config -OutputDirectory packages
.nuget\NuGet.exe restore Glimpse.All.sln
powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& {Import-Module '.\packages\psake.*\tools\psake.psm1'; invoke-psake .\default.ps1 %*; if ($LastExitCode -ne 0) {write-host "ERROR: $LastExitCode" -fore RED; exit $lastexitcode} }"

0 comments on commit d6fd548

Please sign in to comment.