Skip to content

Commit

Permalink
Cleanup build errors and package 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrondeau committed Aug 9, 2015
1 parent 1ae6e1d commit e41b822
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
10 changes: 10 additions & 0 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ $Version = $NuSpecXml.package.metadata.version

# ==================================== Synchronize RELEASES

Write-Host "Synchronizing releases..." -ForegroundColor White

git checkout Releases\RELEASES

$ReleasesToDownload = (Get-Content "$ReleasesFolder\RELEASES") | % { ($_ -split ' ')[1] }
Expand All @@ -66,6 +68,8 @@ dir "$ReleasesFolder\*.nupkg" | ? { $ReleaseFilenames -NotContains $_.Name } | R

# ==================================== Build

Write-Host "Building..." -ForegroundColor White

If(Test-Path -Path $BuildPath) {
Remove-Item -Confirm:$false "$BuildPath\*.*"
}
Expand All @@ -81,6 +85,8 @@ If(Test-Path -Path $BuildPath) {

# ==================================== Zip

Write-Host "Zipping..." -ForegroundColor White

$ReleaseZip = "$ReleasesFolder\GoToWindow.$Version.zip"

If(!(Test-Path -Path $ReleasesFolder )){
Expand All @@ -95,6 +101,8 @@ ZipFiles $ReleaseZip $BuildPath

# ==================================== Squirrel

Write-Host "Squirrel..." -ForegroundColor White

$NuPkgPath = "$PSScriptRoot\GoToWindow.$Version.nupkg"

&($NuGet) pack $NuSpecPath
Expand Down Expand Up @@ -123,6 +131,8 @@ If(Test-Path -Path $SquirrelSetupExe) {

# ==================================== Cleanup

Write-Host "Cleanup..." -ForegroundColor White

If(Test-Path -Path $NuPkgPath) {
Remove-Item -Confirm:$false $NuPkgPath
}
Expand Down
33 changes: 30 additions & 3 deletions GoToWindow/GoToWindow.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@
<ApplicationIcon>Resources\AppIcon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="DeltaCompressionDotNet">
<Reference Include="DeltaCompressionDotNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1d14d6e5194e7f4a, processorArchitecture=MSIL">
<HintPath>..\packages\DeltaCompressionDotNet.1.0.0\lib\net45\DeltaCompressionDotNet.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DeltaCompressionDotNet.MsDelta">
<Reference Include="DeltaCompressionDotNet.MsDelta, Version=1.0.0.0, Culture=neutral, PublicKeyToken=46b2138a390abf55, processorArchitecture=MSIL">
<HintPath>..\packages\DeltaCompressionDotNet.1.0.0\lib\net45\DeltaCompressionDotNet.MsDelta.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="DeltaCompressionDotNet.PatchApi">
<Reference Include="DeltaCompressionDotNet.PatchApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3e8888ee913ed789, processorArchitecture=MSIL">
<HintPath>..\packages\DeltaCompressionDotNet.1.0.0\lib\net45\DeltaCompressionDotNet.PatchApi.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Hardcodet.Wpf.TaskbarNotification">
<HintPath>..\packages\Hardcodet.NotifyIcon.Wpf.1.0.5\lib\net45\Hardcodet.Wpf.TaskbarNotification.dll</HintPath>
Expand All @@ -58,6 +61,30 @@
<Reference Include="log4net">
<HintPath>..\packages\log4net.2.0.3\lib\net40-full\log4net.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Web.XmlTransform, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Mdb.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mono.Cecil.Pdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Pdb.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mono.Cecil.Rocks, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Rocks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NuGet.Core, Version=2.8.60717.93, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\NuGet.Core.2.8.6\lib\net40-Client\NuGet.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Splat, Version=1.6.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Splat.1.6.2\lib\Net45\Splat.dll</HintPath>
<Private>True</Private>
Expand Down
3 changes: 3 additions & 0 deletions GoToWindow/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<package id="DeltaCompressionDotNet" version="1.0.0" targetFramework="net45" />
<package id="Hardcodet.NotifyIcon.Wpf" version="1.0.5" targetFramework="net45" />
<package id="log4net" version="2.0.3" targetFramework="net45" />
<package id="Microsoft.Web.Xdt" version="2.1.1" targetFramework="net45" />
<package id="Mono.Cecil" version="0.9.6.1" targetFramework="net45" />
<package id="NuGet.Core" version="2.8.6" targetFramework="net45" />
<package id="Splat" version="1.6.2" targetFramework="net45" />
<package id="squirrel.windows" version="0.99.2" targetFramework="net45" />
</packages>
4 changes: 3 additions & 1 deletion Releases/RELEASES
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
08115263790A037E1B56D713A1218CD4BF4B899B https://github.com/christianrondeau/GoToWindow/releases/download/v0.2.0/GoToWindow-0.2.0-full.nupkg 1006510
08115263790A037E1B56D713A1218CD4BF4B899B https://github.com/christianrondeau/GoToWindow/releases/download/v0.2.0/GoToWindow-0.2.0-full.nupkg 1006510
9E3EDCE0464DCC8C2AF6AD1F4A4F7D3BB27EF7B4 https://github.com/christianrondeau/GoToWindow/releases/download/v0.3.0/GoToWindow-0.3.0-delta.nupkg 513060
46E11A580D7A728275F1F38862EB9E277630A1D2 https://github.com/christianrondeau/GoToWindow/releases/download/v0.3.0/GoToWindow-0.3.0-full.nupkg 1053379

0 comments on commit e41b822

Please sign in to comment.