Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Build\Build.proj - Made build produce NuGet packages.
- Loading branch information
Showing
17 changed files
with
144 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Go" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition="$(Configuration) == ''">Debug</Configuration> | ||
<ProjectRoot>$(MSBuildProjectDirectory)\..</ProjectRoot> | ||
<ArtifactsDir>$(ProjectRoot)\artifacts\$(Configuration)</ArtifactsDir> | ||
<NuGetToolsPath>$(ProjectRoot)\.nuget</NuGetToolsPath> | ||
<NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<MajorVersion>0</MajorVersion> | ||
<MinorVersion>5</MinorVersion> | ||
<Version>$(MajorVersion).$(MinorVersion)</Version> | ||
</PropertyGroup> | ||
|
||
<Target Name="Go" DependsOnTargets="Build; BuildPackages"> | ||
</Target> | ||
|
||
<Target Name="CreateOutputDir"> | ||
<MakeDir Directories="$(ArtifactsDir)" Condition="!Exists('$(ArtifactsDir)')" /> | ||
</Target> | ||
|
||
<Target Name="Build" DependsOnTargets="CreateOutputDir"> | ||
<MSBuild Projects="$(ProjectRoot)\SignalR.sln" Targets="Build" Properties="Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" /> | ||
</Target> | ||
|
||
<Target Name="BuildPackages"> | ||
<ItemGroup> | ||
<JsPackage Include="$(ProjectRoot)\SignalR\Properties\SignalR.Js.nuspec" /> | ||
<MetaPackage Include="$(ProjectRoot)\SignalR\Properties\SignalR.All.nuspec" /> | ||
</ItemGroup> | ||
<Exec Command=""$(NuGetExePath)" pack "%(JsPackage.Identity)" -o "$(ArtifactsDir)" -p Version=$(Version) -basePath "$(ProjectRoot)\SignalR" -Verbose" | ||
LogStandardErrorAsError="true" /> | ||
<Exec Command=""$(NuGetExePath)" pack "%(MetaPackage.Identity)" -o "$(ArtifactsDir)" -p Version=$(Version) -exclude **\*.cs -Verbose" | ||
LogStandardErrorAsError="true" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Reflection; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyCompany("David Fowler and Damian Edwards")] | ||
[assembly: AssemblyCopyright("Copyright © David Fowler and Damian Edwards 2011")] | ||
|
||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: AssemblyConfiguration("")] | ||
|
||
[assembly: AssemblyVersion("0.5.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<metadata> | ||
<id>$id$</id> | ||
<version>$version$</version> | ||
<authors>$author$</authors> | ||
<description>$description$</description> | ||
<licenseUrl>https://github.com/SignalR/SignalR/blob/master/LICENSE.md</licenseUrl> | ||
<projectUrl>https://github.com/SignalR/SignalR</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<metadata> | ||
<id>$id$</id> | ||
<version>$version$</version> | ||
<authors>$author$</authors> | ||
<licenseUrl>https://github.com/SignalR/SignalR/blob/master/LICENSE.md</licenseUrl> | ||
<projectUrl>https://github.com/SignalR/SignalR</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>$description$</description> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<metadata> | ||
<id>SignalR</id> | ||
<version>$version$</version> | ||
<authors>David Fowler and Damian Edwards</authors> | ||
<licenseUrl>https://github.com/SignalR/SignalR/blob/master/LICENSE.md</licenseUrl> | ||
<projectUrl>https://github.com/SignalR/SignalR</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>A client and server side library for ASP.NET that provides messaging and an abstraction over a persistant connection.</description> | ||
<dependencies> | ||
<dependency id="SignalR.Server" version="$version$" /> | ||
<dependency id="SignalR.Js" version="$version$" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<metadata> | ||
<id>SignalR.Js</id> | ||
<version>$version$</version> | ||
<authors>David Fowler and Damian Edwards</authors> | ||
<licenseUrl>https://github.com/SignalR/SignalR/blob/master/LICENSE.md</licenseUrl> | ||
<projectUrl>https://github.com/SignalR/SignalR</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Javascript library for SignalR</description> | ||
<dependencies> | ||
<dependency id="jQuery" version="1.6" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="Scripts\jquery.signalR.*" target="Scripts" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<package> | ||
<metadata> | ||
<id>$id$</id> | ||
<id>$id$.Server</id> | ||
<version>$version$</version> | ||
<authors>$author$</authors> | ||
<owners>$author$</owners> | ||
<licenseUrl>https://github.com/SignalR/SignalR/blob/master/LICENSE.md</licenseUrl> | ||
<projectUrl>https://github.com/SignalR/SignalR</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>$description$</description> | ||
<dependencies> | ||
<dependency id="jQuery" version="1.6.1" /> | ||
</dependencies> | ||
</metadata> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@echo Off | ||
set config=%1 | ||
if "%config%" == "" ( | ||
set config=debug | ||
set config=Debug | ||
) | ||
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Signalr.sln /p:Configuration="%config%" /m | ||
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.proj /p:Configuration="%config%" /m |