Skip to content

Commit

Permalink
added NuGetPack for: StackExpress, StackExpress.Mvc, StackExpress.Com…
Browse files Browse the repository at this point in the history
…mon, StackExpress.Razor, StackExpress.Authentication, StackExpress.MsgPack and StackExpress.ProtoBuf
  • Loading branch information
desunit committed Oct 30, 2012
1 parent beaed5d commit 95f6c64
Show file tree
Hide file tree
Showing 15 changed files with 561 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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>StackExpress.Authentication.OpenId</id>
<title>OpenId Auth Providers for StackExpress - inc. Google, Yahoo, MyOpenId</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>OpenId Auth Providers for StackExpress - inc. Google, Yahoo, MyOpenId</summary>
<description>
Adds OpenId Auth Providers for use in StackExpress Web and REST Services.
Includes built-in support for Google, Yahoo, MyOpenId and Custom OpenId providers.

More Info on Auth Providers:
https://github.com/ServiceStack/ServiceStack/wiki/Authentication-and-authorization
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>OpenId Google Yahoo MyOpenId Authentication Auth Provider ServiceStack REST Web Services</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress" />
<dependency id="DotNetOpenAuth.Ultimate" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack.Authentication.OpenId\**\*.cs" target="src" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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>StackExpress.Client.Silverlight</id>
<version>$version$</version>
<title>Silverlight Clients for StackExpress webservices</title>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Silverlight JSON, XML, JSV ServiceClients for StackExpress web services</summary>
<description>
StackExpress client binaries for Silverlight. Provides generic JSON, XML and JSV Service Clients allowing you to call ServiceStack web services from a Silverlight client.
This is now a stub that points to ServiceStack.Common NuGet package which now contains the Silverlight client builds.
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>Silverlight Fast JSON XML JSV REST Web Services</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress.Common" />
</dependencies>
</metadata>
</package>
34 changes: 34 additions & 0 deletions NuGet/ServiceStack.Common/stackexpress.common.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?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>StackExpress.Common</id>
<title>Service Clients and Common libs for StackExpress projects</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Opensource .NET and Mono REST Web Services framework</summary>
<description>
Common library dependency for other StackExpress projects.
Includes JSON, XML, JSV and SOAP Generic Service Clients.
Contains:
- StackExpress.Interfaces
- StackExpress.Common
Dependenies:
- StackExpress.Text
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.StackExpress.net/logo-100x100.png</iconUrl>
<tags>StackExpress Common Framework</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress.Text" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack.Common\**\*.cs" target="src\ServiceStack.Common" />
<file src="..\..\src\ServiceStack.Interfaces\**\*.cs" target="src\ServiceStack.Interfaces" />
</files>
</package>
25 changes: 25 additions & 0 deletions NuGet/ServiceStack.Host.AspNet/stackexpress.host.aspnet.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?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>StackExpress.Host.AspNet</id>
<title>Starter ASP.NET Website Template - StackExpress at /</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Opensource .NET and Mono REST Web Services framework</summary>
<description>
Host StackExpress in an existing ASP.NET web application at the root path '/'.
StackExpress is a modern, high-performance, code-first web service framework promoting code and web services best practices. Simple, Fast, Elegant. Website: http://www.servicestack.net
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="WebActivator" version="1.5" />
<dependency id="StackExpress" />
</dependencies>
</metadata>
</package>
25 changes: 25 additions & 0 deletions NuGet/ServiceStack.Host.Mvc/stackexpress.host.mvc.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?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>StackExpress.Host.Mvc</id>
<title>Starter ASP.NET MVC Website Template - StackExpress at /api</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Opensource .NET and Mono REST Web Services framework</summary>
<description>
Host StackExpress side-by-side with an existing ASP.NET MVC application at the path '/api'.
StackExpress is a modern, high-performance, code-first web service framework promoting code and web services best practices. Simple, Fast, Elegant. Website: http://www.servicestack.net
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="WebActivator" version="1.5" />
<dependency id="StackExpress.Mvc" />
</dependencies>
</metadata>
</package>
30 changes: 30 additions & 0 deletions NuGet/ServiceStack.Mvc/stackexpress.mvc.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?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>StackExpress.Mvc</id>
<title>MVC Adapters for integrating with StackExpress webservices</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>.NET 4.0 project Integration of StackExpress with MVC3</summary>
<description>
Full details in Mvc PowerPack: http://servicestack.net/mvc-powerpack/
Adapter classes to provide tight integration and re-usable functionality between ServiceStack and MVC3.
Including adapters for: MiniProfiler, FluentValidation, Funq IOC Controller Factory, Funq Validator Factory
ControllerBase (configured with access to ServiceStack's ICacheClient, ISession, typed UserSession dependencies).
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>MiniProfiler FluentValidation MVC Controller</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack.FluentValidation.Mvc3\**\*.cs" target="src" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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>StackExpress.Plugins.MsgPack</id>
<title>Message Pack support for StackExpress. Includes typed MsgPack Client</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>MsgPack Format Serializer ContentType ServiceClients for StackExpress</summary>
<description>
Add the MsgPack binary format and endpoint to a StackExpress web service host.
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>MsgPack MessagePack Message Pack Fast Binary Serializer Format ContentType StackExpress REST Web Services</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress.Common" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack.Plugins.MsgPack\**\*.cs" target="src" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?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>StackExpress.Plugins.ProtoBuf</id>
<title>Protocol Buffers support for StackExpress. Includes typed ProtoBuf Client</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>ProtoBuf Format Serializer ContentType ServiceClients for StackExpress</summary>
<description>
Add the ProtoBuf binary format and endpoint to a StackExpress web service host.
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>ProtoBuf Fast Binary Serializer Format ContentType StackExpress REST Web Services</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="protobuf-net" />
<dependency id="StackExpress.Common" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack.Plugins.ProtoBuf\**\*.cs" target="src" />
</files>
</package>
38 changes: 38 additions & 0 deletions NuGet/ServiceStack.Razor/stackexpress.razor.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?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>StackExpress.Razor</id>
<title>StackExpress.Razor - StackExpress's HTML story including MVC Razor</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Provides ServiceStack's HTML Story including integrated support for MVC Razor's ViewEngine</summary>
<description>
StackExpress Razor Documentation: http://razor.servicestack.net

- Turns ServiceStack into a Complete Web + REST Services Stack. Replaces need for ASP.NET MVC.
- Runs In ASP.NET or Self-host, first-class cross-platform support on .NET / Mono runtimes.
- Add HTML views to existing services.
- Change Views and Layout templates at runtime.
- No Ceremony development options - Pages without controllers, with typed and dynamic View Models.
- Include Partial Markdown views in Razor pages.
- Cascading Layout templates.
- Pretty urls by default (no custom Routes needed).
- Keep all views and assets together.
- Smart View Pages.
</description>
<projectUrl>http://razor.servicestack.net</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
<tags>ServiceStack Razor ViewEngine View Templates Controllers Mono ASP.NET Self-Host</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack.Razor\**\*.cs" target="src" />
</files>
</package>
33 changes: 33 additions & 0 deletions NuGet/ServiceStack/stackexpress.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?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>StackExpress</id>
<title>StackExpress webservice framework: Faster, Cleaner, Modern WCF alternative</title>
<version>$version$</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Opensource .NET and Mono REST Web Services framework</summary>
<description>
Binaries for the StackExpress web framework.
Visit http://www.ServiceStack.net/ServiceStack.Hello/
and https://github.com/ServiceStack/ServiceStack/wiki/Create-your-first-webservice
for walk throughs and docs on creating your first web service.
</description>
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
<iconUrl>http://www.StackExpress.net/logo-100x100.png</iconUrl>
<tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
<language>en-US</language>
<copyright>StackExpress.net 2012 and contributors</copyright>
<dependencies>
<dependency id="StackExpress.Common" />
<dependency id="ServiceStack.Redis" />
<dependency id="ServiceStack.OrmLite.SqlServer" />
</dependencies>
</metadata>
<files>
<file src="lib\**\*.*" target="lib" />
<file src="..\..\src\ServiceStack\**\*.cs" target="src\ServiceStack" />
<file src="..\..\src\ServiceStack.ServiceInterface\**\*.cs" target="src\ServiceStack.ServiceInterface" />
</files>
</package>
9 changes: 8 additions & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ if "%target%" == "" (
set target=UnitTests
)

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\build.msbuild /target:%target% /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
if "%target%" == "NuGetPack" (
if "%BUILD_NUMBER%" == "" (
echo BUILD_NUMBER environment variable is not set.
exit;
)
)

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.msbuild /target:%target% /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
34 changes: 34 additions & 0 deletions build/Build.tasks
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Go" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask TaskName="RegexTransform" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<Items ParameterType="Microsoft.Build.Framework.ITaskItem[]" />
</ParameterGroup>
<Task>
<Using Namespace="System.IO" />
<Using Namespace="System.Text.RegularExpressions" />
<Using Namespace="Microsoft.Build.Framework" />
<Code Type="Fragment" Language="cs">
<![CDATA[
foreach(ITaskItem item in Items) {
string fileName = item.GetMetadata("FullPath");
string find = item.GetMetadata("Find");
string replaceWith = item.GetMetadata("ReplaceWith");
if(!File.Exists(fileName)) {
Log.LogError(null, null, null, null, 0, 0, 0, 0, String.Format("Could not find version file: {0}", fileName), new object[0]);
}
string content = File.ReadAllText(fileName);
File.WriteAllText(
fileName,
Regex.Replace(
content,
find,
replaceWith
)
);
}
]]></Code>
</Task>
</UsingTask>
</Project>
Loading

0 comments on commit 95f6c64

Please sign in to comment.