Skip to content

Commit

Permalink
Build separate packages for Owin and System.Web
Browse files Browse the repository at this point in the history
  • Loading branch information
mausch committed Jul 1, 2015
1 parent bd4fbdd commit 32dd3d7
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ packages/*
.nuget/nuget.exe
*.nupkg
*.sln.ide
QuartzNetWebConsole.Web/*.dll
QuartzNetWebConsole.Web/*.dll
QuartzNetWebConsole/*.dll
[Nn][Uu][Gg][Ee][Tt].[Ee][Xx][Ee]
19 changes: 19 additions & 0 deletions QuartzNetWebConsole.Owin.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>QuartzNetWebConsole.Owin</id>
<version>0.4.0</version>
<authors>Mauricio Scheffer</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Embedded web Quartz.NET console/manager</description>
<licenseUrl>https://github.com/mausch/QuartzNetWebConsole/raw/master/license.txt</licenseUrl>
<projectUrl>https://www.ohloh.net/p/QuartzNetWebConsole</projectUrl>
<language>en-US</language>
<dependencies>
<dependency id="Quartz" version="2.3.2" />
</dependencies>
</metadata>
<files>
<file src="QuartzNetWebConsole\QuartzNetWebConsole.dll" target="lib\net45"/>
</files>
</package>
3 changes: 3 additions & 0 deletions QuartzNetWebConsole/QuartzNetWebConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,7 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>$(SolutionDir)packages\ilmerge.2.14.1208\tools\ILMerge.exe /ndebug /out:$(ProjectDir)QuartzNetWebConsole.dll $(TargetDir)QuartzNetWebConsole.dll $(TargetDir)QuartzNetWebConsole.Views.dll</PostBuildEvent>
</PropertyGroup>
</Project>
1 change: 1 addition & 0 deletions QuartzNetWebConsole/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
<package id="Common.Logging" version="3.0.0" targetFramework="net35" requireReinstallation="True" />
<package id="Common.Logging.Core" version="3.0.0" targetFramework="net35" requireReinstallation="True" />
<package id="Quartz" version="2.3.2" targetFramework="net35" requireReinstallation="True" />
<package id="ILMerge" version="2.14.1208" targetFramework="net45" />
</packages>
2 changes: 0 additions & 2 deletions build.bat

This file was deleted.

10 changes: 10 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$ErrorActionPreference = "Stop"
if (! (test-path nuget.exe)) {
wget https://nuget.org/nuget.exe -outfile nuget.exe
}
& ./nuget restore
$MSBUILD = [Environment]::GetEnvironmentVariable("ProgramFiles(x86)")
$MSBUILD = join-path $MSBUILD "msbuild\12.0\bin\msbuild.exe"
& $MSBUILD /m
& ./nuget pack QuartzNetWebConsole.nuspec
& ./nuget pack QuartzNetWebConsole.Owin.nuspec

0 comments on commit 32dd3d7

Please sign in to comment.