Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
fixed build script
Browse files Browse the repository at this point in the history
  • Loading branch information
micahlmartin committed Aug 7, 2012
1 parent 96650ae commit 43d3176
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ task InstallDependentPackages {
}
}

task InitEnvironment -depends DetectOperatingSystemArchitecture {
task InitEnvironment -depends DetectOperatingSystemArchitecture, GenerateAssemblyInfo {

if($script:isEnvironmentInitialized -ne $true){
if ($TargetFramework -eq "net-4.0"){
Expand Down Expand Up @@ -128,7 +128,7 @@ task CompileSamples -depends InstallDependentPackages, InitEnvironment, Init {
exec { &$script:msBuild $solutionFile }
}

task PrepareRelease -depends CompileMain, TestMain {
task PrepareRelease {

if((Test-Path $releaseRoot) -eq $true){
Delete-Directory $releaseRoot
Expand Down Expand Up @@ -193,7 +193,6 @@ using System.Runtime.CompilerServices;
sc -Path "$baseDir\SharedAssemblyInfo.cs" -Value $asmInfo
}

task ReleaseOAuth -depends GenerateAssemblyInfo, CreatePackages, CompileSamples {

}
task ReleaseOAuth -depends CompileMain, TestMain, CreatePackages, CompileSamples
task CompileAll -depends CompileMain, TestMain, CompileSamples

0 comments on commit 43d3176

Please sign in to comment.