content/buildPlugin.ps1 (9 lines of code) (raw):

Param( $Version = "9999.0.0" ) Set-StrictMode -Version Latest $ErrorActionPreference = "Stop" $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent Set-Location $PSScriptRoot . ".\settings.ps1" Invoke-Exe $MSBuildPath "/t:Restore;Rebuild;Pack" "$SolutionPath" "/v:minimal" "/p:PackageVersion=$Version" "/p:PackageOutputPath=`"$OutputDirectory`""