From a3df7ecd98844b6de4044e2b9b46b7d16104b9da Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Sat, 21 Mar 2015 23:09:27 +1300 Subject: [PATCH] -Build --- Build/runbuild.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Build/runbuild.ps1 b/Build/runbuild.ps1 index ec7dc5d7..43d7e352 100644 --- a/Build/runbuild.ps1 +++ b/Build/runbuild.ps1 @@ -1,5 +1,7 @@ cls -Import-Module '..\Tools\PSake\psake.psm1' -Invoke-psake '.\build.ps1' Test -framework 3.5 +$path = Split-Path -Path $MyInvocation.MyCommand.Path + +Import-Module ($path + '\..\Tools\PSake\psake.psm1') +Invoke-psake ($path + '\build.ps1') Test -framework 3.5 Remove-Module psake \ No newline at end of file