From 32dd3d7700d5b290d99e45af9ebfc87373226b90 Mon Sep 17 00:00:00 2001 From: mausch Date: Thu, 2 Jul 2015 00:27:50 +0100 Subject: [PATCH] Build separate packages for Owin and System.Web --- .gitignore | 4 +++- QuartzNetWebConsole.Owin.nuspec | 19 +++++++++++++++++++ .../QuartzNetWebConsole.csproj | 3 +++ QuartzNetWebConsole/packages.config | 1 + build.bat | 2 -- build.ps1 | 10 ++++++++++ 6 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 QuartzNetWebConsole.Owin.nuspec delete mode 100644 build.bat create mode 100644 build.ps1 diff --git a/.gitignore b/.gitignore index ba69e1f..245e0f3 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,6 @@ packages/* .nuget/nuget.exe *.nupkg *.sln.ide -QuartzNetWebConsole.Web/*.dll \ No newline at end of file +QuartzNetWebConsole.Web/*.dll +QuartzNetWebConsole/*.dll +[Nn][Uu][Gg][Ee][Tt].[Ee][Xx][Ee] \ No newline at end of file diff --git a/QuartzNetWebConsole.Owin.nuspec b/QuartzNetWebConsole.Owin.nuspec new file mode 100644 index 0000000..0568c27 --- /dev/null +++ b/QuartzNetWebConsole.Owin.nuspec @@ -0,0 +1,19 @@ + + + + QuartzNetWebConsole.Owin + 0.4.0 + Mauricio Scheffer + false + Embedded web Quartz.NET console/manager + https://github.com/mausch/QuartzNetWebConsole/raw/master/license.txt + https://www.ohloh.net/p/QuartzNetWebConsole + en-US + + + + + + + + \ No newline at end of file diff --git a/QuartzNetWebConsole/QuartzNetWebConsole.csproj b/QuartzNetWebConsole/QuartzNetWebConsole.csproj index 18309b0..d59b0f8 100644 --- a/QuartzNetWebConsole/QuartzNetWebConsole.csproj +++ b/QuartzNetWebConsole/QuartzNetWebConsole.csproj @@ -99,4 +99,7 @@ + + $(SolutionDir)packages\ilmerge.2.14.1208\tools\ILMerge.exe /ndebug /out:$(ProjectDir)QuartzNetWebConsole.dll $(TargetDir)QuartzNetWebConsole.dll $(TargetDir)QuartzNetWebConsole.Views.dll + \ No newline at end of file diff --git a/QuartzNetWebConsole/packages.config b/QuartzNetWebConsole/packages.config index 4306a9b..71c398e 100644 --- a/QuartzNetWebConsole/packages.config +++ b/QuartzNetWebConsole/packages.config @@ -3,4 +3,5 @@ + \ No newline at end of file diff --git a/build.bat b/build.bat deleted file mode 100644 index e65dd3a..0000000 --- a/build.bat +++ /dev/null @@ -1,2 +0,0 @@ -msbuild /m QuartzNetWebConsole.sln /p:Configuration=Release -.nuget\nuget.exe pack QuartzNetWebConsole.nuspec \ No newline at end of file diff --git a/build.ps1 b/build.ps1 new file mode 100644 index 0000000..8ae8731 --- /dev/null +++ b/build.ps1 @@ -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 \ No newline at end of file