Permalink
Browse files

Create nuget packages for the new libraries. Also bump version to 2.0.0.

  • Loading branch information...
1 parent fdb856d commit 9b02ecb9a9cc28233cbfa26092d04cd09003a832 @andrewdavey committed Mar 16, 2012
View
@@ -35,13 +35,24 @@
<Target Name="NugetPack" DependsOnTargets="Build">
<ItemGroup>
+ <ExistingPackageFiles Include="build\nuget\*"/>
<MainNuspec Include="src\Cassette\Cassette.nuspec"/>
<MainNuspec Include="src\Cassette.Less\Cassette.Less.nuspec"/>
+ <MainNuspec Include="src\Cassette.Sass\Cassette.Sass.nuspec"/>
+ <MainNuspec Include="src\Cassette.CoffeeScript\Cassette.CoffeeScript.nuspec"/>
+ <MainNuspec Include="src\Cassette.Hogan\Cassette.Hogan.nuspec"/>
+ <MainNuspec Include="src\Cassette.JQueryTmpl\Cassette.JQueryTmpl.nuspec"/>
+ <MainNuspec Include="src\Cassette.KnockoutJQueryTmpl\Cassette.KnockoutJQueryTmpl.nuspec"/>
<MainNuspec Include="src\Cassette.Views\Cassette.Views.nuspec"/>
<MainNuspec Include="src\Cassette.Web\Cassette.Web.nuspec"/>
<MainNuspec Include="src\Cassette.Web.Jasmine\Cassette.Web.Jasmine.nuspec"/>
<SymbolsNuspec Include="src\Cassette\Cassette.symbols.nuspec"/>
<SymbolsNuspec Include="src\Cassette.Less\Cassette.Less.symbols.nuspec"/>
+ <SymbolsNuspec Include="src\Cassette.Sass\Cassette.Sass.symbols.nuspec"/>
+ <SymbolsNuspec Include="src\Cassette.CoffeeScript\Cassette.CoffeeScript.symbols.nuspec"/>
+ <SymbolsNuspec Include="src\Cassette.Hogan\Cassette.Hogan.symbols.nuspec"/>
+ <SymbolsNuspec Include="src\Cassette.JQueryTmpl\Cassette.JQueryTmpl.symbols.nuspec"/>
+ <SymbolsNuspec Include="src\Cassette.KnockoutJQueryTmpl\Cassette.KnockoutJQueryTmpl.symbols.nuspec"/>
<SymbolsNuspec Include="src\Cassette.Views\Cassette.Views.symbols.nuspec"/>
<SymbolsNuspec Include="src\Cassette.Web\Cassette.Web.symbols.nuspec"/>
<SymbolsNuspec Include="src\Cassette.Web.Jasmine\Cassette.Web.Jasmine.symbols.nuspec"/>
@@ -58,6 +69,8 @@
<Message Text="Building Nuget packages for v$(Version)" />
+ <Delete Files="@(ExistingPackageFiles)"/>
+
<!-- Transform Nuspecs -->
<TransformXmlHierarchy
Source="%(Transforms.Identity)"
@@ -100,4 +113,4 @@
<Exec Command="nuget push %(Packages.Identity)" />
</Target>
-</Project>
+</Project>
@@ -76,6 +76,10 @@
<Compile Include="ScriptPipelineExtensions.cs" />
</ItemGroup>
<ItemGroup>
+ <None Include="Cassette.CoffeeScript.nutrans">
+ <SubType>Designer</SubType>
+ </None>
+ <None Include="Cassette.CoffeeScript.symbols.nutrans" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<package inherits="../Cassette.Shared.nuspec" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <metadata>
+ <id xdt:Transform="Insert">Cassette.CoffeeScript</id>
+ <description xdt:Transform="Insert">CoffeeScript compiler support for Cassette</description>
+ <dependencies xdt:Transform="Insert">
+ <dependency id="Cassette" version="$version$" />
+ <dependency id="Jurassic" version="2.1" />
+ </dependencies>
+ </metadata>
+ <files xdt:Transform="Insert">
+ <file src="..\..\build\bin\lib40\Cassette.CoffeeScript.dll" target="lib\net40-client" />
+ </files>
+</package>
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<package inherits="Cassette.CoffeeScript.nutrans" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <files>
+ <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.CoffeeScript.pdb" target="lib\net40-client" />
+ <file xdt:Transform="Insert" src="**\*.cs" target="src" />
+ </files>
+</package>
@@ -31,13 +31,29 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-FX35|AnyCPU'">
+ <DebugSymbols>true</DebugSymbols>
+ <OutputPath>bin\Debug-FX35\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;NET35</DefineConstants>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <DebugType>full</DebugType>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-FX35|AnyCPU'">
+ <OutputPath>bin\Release-FX35\</OutputPath>
+ <DefineConstants>TRACE;NET35</DefineConstants>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <Optimize>true</Optimize>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="Jurassic">
<HintPath>..\packages\Jurassic.2.1.1\lib\Jurassic.dll</HintPath>
</Reference>
<Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs">
@@ -60,6 +76,10 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
+ <None Include="Cassette.Hogan.nutrans">
+ <SubType>Designer</SubType>
+ </None>
+ <None Include="Cassette.Hogan.symbols.nutrans" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
@@ -79,4 +99,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<package inherits="../Cassette.Shared.nuspec" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <metadata>
+ <id xdt:Transform="Insert">Cassette.Hogan</id>
+ <description xdt:Transform="Insert">Hogan HTML template compilation support for Cassette.</description>
+ <dependencies xdt:Transform="Insert">
+ <dependency id="Cassette" version="$version$" />
+ <dependency id="Jurassic" version="2.1" />
+ </dependencies>
+ </metadata>
+ <files xdt:Transform="Insert">
+ <file src="..\..\build\bin\lib40\Cassette.Hogan.dll" target="lib\net40-client" />
+ </files>
+</package>
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<package inherits="Cassette.Hogan.nutrans" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <files>
+ <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.Hogan.pdb" target="lib\net40-client" />
+ <file xdt:Transform="Insert" src="**\*.cs" target="src" />
+ </files>
+</package>
@@ -83,6 +83,10 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
+ <None Include="Cassette.JQueryTmpl.nutrans">
+ <SubType>Designer</SubType>
+ </None>
+ <None Include="Cassette.JQueryTmpl.symbols.nutrans" />
<None Include="packages.config" />
<None Include="Resources\jqueryTmplCompiler.js" />
</ItemGroup>
@@ -94,4 +98,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<package inherits="../Cassette.Shared.nuspec" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <metadata>
+ <id xdt:Transform="Insert">Cassette.JQueryTmpl</id>
+ <description xdt:Transform="Insert">jQuery-tmpl HTML template compilation support for Cassette.</description>
+ <dependencies xdt:Transform="Insert">
+ <dependency id="Cassette" version="$version$" />
+ <dependency id="Jurassic" version="2.1" />
+ </dependencies>
+ </metadata>
+ <files xdt:Transform="Insert">
+ <file src="..\..\build\bin\lib40\Cassette.JQueryTmpl.dll" target="lib\net40-client" />
+ </files>
+</package>
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<package inherits="Cassette.JQueryTmpl.nutrans" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <files>
+ <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.JQueryTmpl.pdb" target="lib\net40-client" />
+ <file xdt:Transform="Insert" src="**\*.cs" target="src" />
+ </files>
+</package>
@@ -80,6 +80,10 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
+ <None Include="Cassette.KnockoutJQueryTmpl.nutrans">
+ <SubType>Designer</SubType>
+ </None>
+ <None Include="Cassette.KnockoutJQueryTmpl.symbols.nutrans" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
@@ -99,4 +103,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<package inherits="../Cassette.Shared.nuspec" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <metadata>
+ <id xdt:Transform="Insert">Cassette.KnockoutJQueryTmpl</id>
+ <description xdt:Transform="Insert">KnockoutJS jQuery-tmpl HTML template compilation support for Cassette.</description>
+ <dependencies xdt:Transform="Insert">
+ <dependency id="Cassette" version="$version$" />
+ <dependency id="Jurassic" version="2.1" />
+ </dependencies>
+ </metadata>
+ <files xdt:Transform="Insert">
+ <file src="..\..\build\bin\lib40\Cassette.KnockoutJQueryTmpl.dll" target="lib\net40-client" />
+ </files>
+</package>
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<package inherits="Cassette.KnockoutJQueryTmpl.nutrans" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <files>
+ <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.KnockoutJQueryTmpl.pdb" target="lib\net40-client" />
+ <file xdt:Transform="Insert" src="**\*.cs" target="src" />
+ </files>
+</package>
@@ -2,7 +2,7 @@
<package inherits="../Cassette.Shared.nuspec" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<metadata>
<id xdt:Transform="Insert">Cassette.Less</id>
- <description xdt:Transform="Insert">Adds LESS CSS support to Cassette</description>
+ <description xdt:Transform="Insert">Less CSS compiler support for Cassette.</description>
<dependencies xdt:Transform="Insert">
<dependency id="Cassette" version="$version$" />
<dependency id="CommonServiceLocator" version="1.0"/>
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package inherits="Cassette.Less.nutrans" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<files>
- <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.pdb" target="lib\net40-client" />
+ <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.Less.pdb" target="lib\net40-client" />
<file xdt:Transform="Insert" src="**\*.cs" target="src" />
</files>
</package>
@@ -4,7 +4,7 @@
So after a build, the Cassette bundles will be created and a cache file written to App_Data\cassette.xml.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <UsingTask AssemblyFile="..\packages\Cassette.MSBuild.1.2.0\tools\Cassette.MSBuild.dll" TaskName="CreateBundles"/>
+ <UsingTask AssemblyFile="..\packages\Cassette.MSBuild.2.0.0\tools\Cassette.MSBuild.dll" TaskName="CreateBundles"/>
<Target Name="Bundle" AfterTargets="Build">
<MakeDir Directories="App_Data"/>
<CreateBundles Assemblies="$(OutputPath)$(AssemblyName).dll" Output="App_Data\cassette.xml"/>
@@ -80,6 +80,10 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
+ <None Include="Cassette.Sass.nutrans">
+ <SubType>Designer</SubType>
+ </None>
+ <None Include="Cassette.Sass.symbols.nutrans" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -90,4 +94,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<package inherits="../Cassette.Shared.nuspec" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <metadata>
+ <id xdt:Transform="Insert">Cassette.Sass</id>
+ <description xdt:Transform="Insert">Sass CSS compiler support for Cassette.</description>
+ <dependencies xdt:Transform="Insert">
+ <dependency id="Cassette" version="$version$" />
+ <dependency id="IronRuby" version="1.1" />
+ <dependency id="SassAndCoffee.Core" version="2.0" />
+ <dependency id="SassAndCoffee.Ruby" version="2.0" />
+ </dependencies>
+ </metadata>
+ <files xdt:Transform="Insert">
+ <file src="..\..\build\bin\lib40\Cassette.Sass.dll" target="lib\net40-client" />
+ </files>
+</package>
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<package inherits="Cassette.Sass.nutrans" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <files>
+ <file xdt:Transform="Insert" src="..\..\build\bin\lib40\Cassette.Sass.pdb" target="lib\net40-client" />
+ <file xdt:Transform="Insert" src="**\*.cs" target="src" />
+ </files>
+</package>
@@ -259,6 +259,10 @@
<Project>{C9A552DA-83EB-4479-BAB6-C40B6091E3D4}</Project>
<Name>Cassette.CoffeeScript</Name>
</ProjectReference>
+ <ProjectReference Include="..\Cassette.Hogan\Cassette.Hogan.csproj">
+ <Project>{4D64EC45-C42A-4601-9E80-2D166AC849F3}</Project>
+ <Name>Cassette.Hogan</Name>
+ </ProjectReference>
<ProjectReference Include="..\Cassette.JQueryTmpl\Cassette.JQueryTmpl.csproj">
<Project>{5B4D49A1-D849-43E3-8701-9CD56DC533BC}</Project>
<Name>Cassette.JQueryTmpl</Name>
@@ -305,4 +309,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -5,7 +5,7 @@
[assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")]
// NOTE: When changing this version, also update Cassette.MSBuild\Cassette.targets to match.
-[assembly: AssemblyInformationalVersion("1.2.0")]
+[assembly: AssemblyInformationalVersion("2.0.0")]
-[assembly: AssemblyVersion("1.2.0.*")]
-[assembly: AssemblyFileVersion("1.2.0.0")]
+[assembly: AssemblyVersion("2.0.0.*")]
+[assembly: AssemblyFileVersion("2.0.0.0")]

0 comments on commit 9b02ecb

Please sign in to comment.