Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated build for 0.4

  • Loading branch information...
commit aafc87f6f8de36516ec48cd77011c02d8b4d8e3a 1 parent 6bc1304
@DamianEdwards DamianEdwards authored
View
141 Build/Build.proj
@@ -1,63 +1,90 @@
<?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>
- <ToolsPath>$(ProjectRoot)\tools\</ToolsPath>
- <XunitPath>$(ToolsPath)xunit\</XunitPath>
- </PropertyGroup>
-
- <PropertyGroup>
- <MajorVersion>0</MajorVersion>
- <MinorVersion>4</MinorVersion>
- <Version>$(MajorVersion).$(MinorVersion).0</Version>
- </PropertyGroup>
-
- <UsingTask AssemblyFile="$(XunitPath)xunit.runner.msbuild.dll"
- TaskName="Xunit.Runner.MSBuild.xunit" />
-
+ <PropertyGroup>
+ <Configuration Condition="$(Configuration) == ''">Debug</Configuration>
+ <ProjectRoot>$(MSBuildProjectDirectory)\..</ProjectRoot>
+ <ArtifactsDir>$(ProjectRoot)\artifacts\$(Configuration)</ArtifactsDir>
+ <NuGetToolsPath>$(ProjectRoot)\.nuget</NuGetToolsPath>
+ <NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <ToolsPath>$(ProjectRoot)\tools\</ToolsPath>
+ <XunitPath>$(ToolsPath)xunit\</XunitPath>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <MajorVersion>0</MajorVersion>
+ <MinorVersion>4</MinorVersion>
+ <Version>$(MajorVersion).$(MinorVersion).0</Version>
+ </PropertyGroup>
+
+ <UsingTask AssemblyFile="$(XunitPath)xunit.runner.msbuild.dll"
+ TaskName="Xunit.Runner.MSBuild.xunit" />
+
+ <ItemGroup>
+ <TestProjects Include="$(ProjectRoot)\SignalR.Tests\bin\$(Configuration)\SignalR.Tests.dll" />
+ </ItemGroup>
+
+ <Target Name="Go" DependsOnTargets="Build; RunTests; BuildPackages">
+ </Target>
+
+ <Target Name="RunTests">
+ <xunit Assembly="%(TestProjects.FullPath)" />
+ </Target>
+
+ <Target Name="CreateOutputDir">
+ <MakeDir Directories="$(ArtifactsDir)" Condition="!Exists('$(ArtifactsDir)')" />
+ </Target>
+
+ <Target Name="Build" DependsOnTargets="CreateOutputDir">
+ <MSBuild Projects="$(ProjectRoot)\SignalR.sln"
+ Targets="Build"
+ Properties="Configuration=$(Configuration)" />
+
+ <MSBuild Projects="$(ProjectRoot)\SignalR.WP7.sln"
+ Targets="Build"
+ Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\')"
+ Properties="Configuration=$(Configuration)" />
+
+ <MSBuild Projects="$(ProjectRoot)\SignalR.Silverlight.sln"
+ Targets="Build"
+ Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Silverlight\v4.0')"
+ Properties="Configuration=$(Configuration)" />
+ </Target>
+
+ <Target Name="BuildPackages">
<ItemGroup>
- <TestProjects Include="$(ProjectRoot)\SignalR.Tests\bin\$(Configuration)\SignalR.Tests.dll" />
+ <JsPackage Include="$(ProjectRoot)\SignalR\Properties\SignalR.Js.nuspec" />
+ <MetaPackage Include="$(ProjectRoot)\SignalR\Properties\SignalR.All.nuspec" />
</ItemGroup>
-
- <Target Name="Go" DependsOnTargets="Build; RunTests; BuildPackages">
- </Target>
-
- <Target Name="RunTests">
- <xunit Assembly="%(TestProjects.FullPath)" />
- </Target>
- <Target Name="CreateOutputDir">
- <MakeDir Directories="$(ArtifactsDir)" Condition="!Exists('$(ArtifactsDir)')" />
- </Target>
-
- <Target Name="Build" DependsOnTargets="CreateOutputDir">
- <MSBuild Projects="$(ProjectRoot)\SignalR.sln"
- Targets="Build"
- Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
-
- <MSBuild Projects="$(ProjectRoot)\SignalR.WP7.sln"
- Targets="Build"
- Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\')"
- Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
-
- <MSBuild Projects="$(ProjectRoot)\SignalR.Silverlight.sln"
- Targets="Build"
- Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Silverlight\v4.0')"
- Properties="BuildPackage=true;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="&quot;$(NuGetExePath)&quot; pack &quot;%(JsPackage.Identity)&quot; -o &quot;$(ArtifactsDir)&quot; -p Version=$(Version) -basePath &quot;$(ProjectRoot)\SignalR&quot;"
- LogStandardErrorAsError="true" />
- <Exec Command="&quot;$(NuGetExePath)&quot; pack &quot;%(MetaPackage.Identity)&quot; -o &quot;$(ArtifactsDir)&quot; -p Version=$(Version) -exclude **\*.cs"
- LogStandardErrorAsError="true" />
- </Target>
+ <MSBuild Projects="$(ProjectRoot)\SignalR\SignalR.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
+
+ <MSBuild Projects="$(ProjectRoot)\SignalR.Hosting.AspNet\SignalR.Hosting.AspNet.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
+
+ <!--<MSBuild Projects="$(ProjectRoot)\SignalR.Hosting.Owin\SignalR.Hosting.Owin.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
+
+ <MSBuild Projects="$(ProjectRoot)\SignalR.Hosting.Self\SignalR.Hosting.Self.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />-->
+
+ <MSBuild Projects="$(ProjectRoot)\SignalR.Client.WP7\SignalR.Client.WP7.csproj"
+ Targets="Build"
+ Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\')"
+ Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
+
+ <MSBuild Projects="$(ProjectRoot)\SignalR.Client.Silverlight\SignalR.Client.Silverlight.csproj"
+ Targets="Build"
+ Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Silverlight\v4.0')"
+ Properties="BuildPackage=true;Version=$(Version);PackageOutputDir=$(ArtifactsDir);Configuration=$(Configuration)" />
+
+ <Exec Command="&quot;$(NuGetExePath)&quot; pack &quot;%(JsPackage.Identity)&quot; -o &quot;$(ArtifactsDir)&quot; -p Version=$(Version) -basePath &quot;$(ProjectRoot)\SignalR&quot;"
+ LogStandardErrorAsError="true" />
+ <Exec Command="&quot;$(NuGetExePath)&quot; pack &quot;%(MetaPackage.Identity)&quot; -o &quot;$(ArtifactsDir)&quot; -p Version=$(Version) -exclude **\*.cs"
+ LogStandardErrorAsError="true" />
+ </Target>
</Project>
View
2  Common/CommonAssemblyInfo.cs
@@ -4,7 +4,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("David Fowler, Damian Edwards")]
-[assembly: AssemblyCopyright("Copyright © David Fowler and Damian Edwards 2011")]
+[assembly: AssemblyCopyright("Copyright © David Fowler and Damian Edwards 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
6 SignalR/Properties/SignalR.All.nuspec
@@ -7,10 +7,10 @@
<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>
+ <description>A client and server side library for .NET that provides messaging and an abstraction over a persistent connection.</description>
<dependencies>
- <dependency id="SignalR.Server" version="$version$" />
- <dependency id="SignalR.Js" version="$version$" />
+ <dependency id="SignalR.Hosting.AspNet" version="[$version$]" />
+ <dependency id="SignalR.Js" version="[$version$]" />
</dependencies>
</metadata>
</package>
Please sign in to comment.
Something went wrong with that request. Please try again.