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 8, 2012
1 parent 3a8c964 commit 3a04d9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Runtime.CompilerServices;

[assembly: AssemblyCompany("Micah Martin")]
[assembly: AssemblyFileVersion("1.2.2.0")]
[assembly: AssemblyVersion("1.2.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: ComVisible(false)]

11 changes: 7 additions & 4 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
param (
[System.Collections.Hashtable]$properties = @{}
)
param(
[Parameter(Position=0,Mandatory=0)]
[string[]]$taskList = @(),
[Parameter(Position=1, Mandatory=0)]
[System.Collections.Hashtable]$properties = @{}
)

$root = Split-Path -parent $MyInvocation.MyCommand.Definition

Import-Module $root\tools\psake\psake.psm1 -ErrorAction SilentlyContinue

Invoke-psake $root\default.ps1 -properties $properties
Invoke-psake $root\default.ps1 -properties $properties -taskList $taskList

Remove-Module psake -ErrorAction SilentlyContinue
2 changes: 1 addition & 1 deletion default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ task CompileMain -depends InstallDependentPackages, InitEnvironment, Init {
echo $mergeLogContent
}

task TestMain -depends CompileMain {
task TestMain -depends CompileMain {

if((Test-Path -Path $buildBase\test-reports) -eq $false){
Create-Directory $buildBase\test-reports
Expand Down

0 comments on commit 3a04d9b

Please sign in to comment.