|
35 | 35 | @{ Continue = $continue })
|
36 | 36 | if ($ubuild.OnError()) { return }
|
37 | 37 |
|
38 |
| - Write-Host "ZpqrtBnk.ModelsBuilder Build" |
| 38 | + Write-Host "Our.ModelsBuilder Build" |
39 | 39 | Write-Host "Umbraco.Build v$($ubuild.BuildVersion)"
|
40 | 40 |
|
41 | 41 | # ################################################################
|
|
57 | 57 |
|
58 | 58 | # Edit VSIX
|
59 | 59 | Write-Host "Update VSIX manifest."
|
60 |
| - $vsixFile = "$($this.SolutionRoot)\src\ZpqrtBnk.ModelsBuilder.Extension\source.extension.vsixmanifest" |
| 60 | + $vsixFile = "$($this.SolutionRoot)\src\Our.ModelsBuilder.Extension\source.extension.vsixmanifest" |
61 | 61 | [xml] $vsixXml = Get-Content $vsixFile
|
62 | 62 | $xmlNameTable = New-Object System.Xml.NameTable
|
63 | 63 | $xmlNameSpace = New-Object System.Xml.XmlNamespaceManager($xmlNameTable)
|
|
105 | 105 | {
|
106 | 106 | Write-Host "Restore NuGet"
|
107 | 107 | Write-Host "Logging to $($this.BuildTemp)\nuget.restore.log"
|
108 |
| - &$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\ZpqrtBnk.ModelsBuilder.sln" > "$($this.BuildTemp)\nuget.restore.log" |
| 108 | + &$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\Our.ModelsBuilder.sln" > "$($this.BuildTemp)\nuget.restore.log" |
109 | 109 | # temp - ignore errors, because of a circular dependency between U and MB
|
110 |
| - # we'll eventually move ZpqrtBnk.ModelsBuilder (and only that one) into Core, |
| 110 | + # we'll eventually move Our.ModelsBuilder (and only that one) into Core, |
111 | 111 | # once I have decided what to do with the work-in-progress stuff
|
112 | 112 | #if (-not $?) { throw "Failed to restore NuGet packages." }
|
113 | 113 | $error.Clear()
|
|
130 | 130 |
|
131 | 131 | # beware of the weird double \\ at the end of paths
|
132 | 132 | # see http://edgylogic.com/blog/powershell-and-external-commands-done-right/
|
133 |
| - &$this.BuildEnv.VisualStudio.MsBuild "$src\ZpqrtBnk.ModelsBuilder.sln" ` |
| 133 | + &$this.BuildEnv.VisualStudio.MsBuild "$src\Our.ModelsBuilder.sln" ` |
134 | 134 | /p:WarningLevel=0 `
|
135 | 135 | /p:Configuration=$buildConfiguration `
|
136 | 136 | /p:Platform="Any CPU" `
|
|
150 | 150 |
|
151 | 151 | $ubuild.DefineMethod("PackageCore",
|
152 | 152 | {
|
153 |
| - Write-Host "Package ZpqrtBnk.ModelsBuilder" |
| 153 | + Write-Host "Package Our.ModelsBuilder" |
154 | 154 | $nuspecs = "$($this.SolutionRoot)\build\NuSpecs"
|
155 |
| - $copyright = "Copyright (C) ZpqrtBnk $((Get-Date).Year)" |
156 |
| - &$this.BuildEnv.NuGet pack "$nuspecs\ZpqrtBnk.ModelsBuilder.nuspec" ` |
| 155 | + $copyright = "Copyright (C) Our $((Get-Date).Year)" |
| 156 | + &$this.BuildEnv.NuGet pack "$nuspecs\Our.ModelsBuilder.nuspec" ` |
157 | 157 | -Properties copyright="$Copyright"`;solution="$($this.SolutionRoot)" `
|
158 | 158 | -Version "$($this.Version.Semver.ToString())" `
|
159 | 159 | -Verbosity detailed -OutputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.core.log"
|
160 |
| - if (-not $?) { throw "Failed to pack NuGet ZpqrtBnk.ModelsBuilder." } |
| 160 | + if (-not $?) { throw "Failed to pack NuGet Our.ModelsBuilder." } |
161 | 161 | })
|
162 | 162 |
|
163 | 163 | $ubuild.DefineMethod("PackageWeb",
|
164 | 164 | {
|
165 |
| - Write-Host "Package ZpqrtBnk.ModelsBuilder.Web" |
| 165 | + Write-Host "Package Our.ModelsBuilder.Web" |
166 | 166 | $nuspecs = "$($this.SolutionRoot)\build\NuSpecs"
|
167 |
| - $copyright = "Copyright (C) ZpqrtBnk $((Get-Date).Year)" |
168 |
| - &$this.BuildEnv.NuGet pack "$nuspecs\ZpqrtBnk.ModelsBuilder.Web.nuspec" ` |
| 167 | + $copyright = "Copyright (C) Our $((Get-Date).Year)" |
| 168 | + &$this.BuildEnv.NuGet pack "$nuspecs\Our.ModelsBuilder.Web.nuspec" ` |
169 | 169 | -Properties copyright="$Copyright"`;solution="$($this.SolutionRoot)" `
|
170 | 170 | -Version "$($this.Version.Semver.ToString())" `
|
171 | 171 | -Verbosity detailed -OutputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.web.log"
|
172 |
| - if (-not $?) { throw "Failed to pack NuGet ZpqrtBnk.ModelsBuilder.Web." } |
| 172 | + if (-not $?) { throw "Failed to pack NuGet Our.ModelsBuilder.Web." } |
173 | 173 | })
|
174 | 174 |
|
175 | 175 | $ubuild.DefineMethod("PackageVsix",
|
176 | 176 | {
|
177 |
| - Write-Host "Package ZpqrtBnk.ModelsBuilder.Extension" |
| 177 | + Write-Host "Package Our.ModelsBuilder.Extension" |
178 | 178 |
|
179 |
| - $vsix = "$($this.SolutionRoot)\build.tmp\bin\ZpqrtBnk.ModelsBuilder.Extension.vsix" |
180 |
| - $temp = "$($this.SolutionRoot)\build.tmp\bin\ZpqrtBnk.ModelsBuilder.Extension.temp" |
181 |
| - $target = "$($this.BuildOutput)\ZpqrtBnk.ModelsBuilder.Extension-$($this.Version.Semver.ToString()).vsix" |
| 179 | + $vsix = "$($this.SolutionRoot)\build.tmp\bin\Our.ModelsBuilder.Extension.vsix" |
| 180 | + $temp = "$($this.SolutionRoot)\build.tmp\bin\Our.ModelsBuilder.Extension.temp" |
| 181 | + $target = "$($this.BuildOutput)\Our.ModelsBuilder.Extension-$($this.Version.Semver.ToString()).vsix" |
182 | 182 |
|
183 | 183 | [Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | Out-Null
|
184 | 184 | [System.IO.Compression.ZipFile]::ExtractToDirectory($vsix, $temp) | Out-Null
|
|
266 | 266 | $ubuild.DefineMethod("VerifyNuGet",
|
267 | 267 | {
|
268 | 268 | $this.VerifyNuGetConsistency(
|
269 |
| - ("ZpqrtBnk.ModelsBuilder", "ZpqrtBnk.ModelsBuilder.Web"), |
270 |
| - ("ZpqrtBnk.ModelsBuilder", "ZpqrtBnk.ModelsBuilder.Web", "ZpqrtBnk.ModelsBuilder.Extension", "ZpqrtBnk.ModelsBuilder.Console")) |
| 269 | + ("Our.ModelsBuilder", "Our.ModelsBuilder.Web"), |
| 270 | + ("Our.ModelsBuilder", "Our.ModelsBuilder.Web", "Our.ModelsBuilder.Extension", "Our.ModelsBuilder.Console")) |
271 | 271 | })
|
272 | 272 |
|
273 | 273 | $ubuild.DefineMethod("PostPackageHook",
|
|
0 commit comments