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
| <# | |
| .Synopsis | |
| Recursively updates the version of AssemblyInfo.cs files | |
| .Parameter baseDir | |
| The root directory from which to recursively search for AssemblyInfo files | |
| Defaults to the directory of the script. | |
| .Link | |
| https://gist.github.com/z0c | |
| #> |
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
| Properties { | |
| $baseDir = Resolve-Path . | |
| $project = Split-Path $baseDir -Leaf | |
| $artifactDir = "$baseDir\Build\Packages" | |
| $version = "1.0.1" | |
| } | |
| Task Default -Depends Build | |
| Task Clean { | |
| if (Test-Path "$baseDir\build") { |
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
| powershell -NonInteractive -Command "& { Import-Module .\psake.psm1; Invoke-Psake .\psake-build.ps1 %*; exit !($psake.build_success); }" |
NewerOlder