Created
February 12, 2016 15:54
-
-
Save swade1987/5b3b760c2026b1b7af39 to your computer and use it in GitHub Desktop.
build.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[string]$version | |
) | |
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition | |
$psake_module_dir = "$($scriptPath)\src\Parliament.CDP.Web\packages\psake.4.5.0\tools\psake.psm1" | |
## run our default built script | |
Import-Module $psake_module_dir; | |
Invoke-psake "$($scriptPath)\default.ps1" -t "default" -parameters @{"version"=$version} | |
if ($psake.build_success -eq $false) { exit 1 } else { exit 0 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment