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