Skip to content
Browse files

Add nuget package

  • Loading branch information...
1 parent f75a1e5 commit 984c4b4d02e8d6d597575012bee9c9f18cb94f83 @andrewdavey committed Oct 23, 2012
View
2 build.xml
@@ -20,6 +20,7 @@
<TestProject Include="Hogan.UnitTests"/>
<TestProject Include="Aspnet.Jasmine.UnitTests"/>
<TestProject Include="Spriting.UnitTests"/>
+ <TestProject Include="RequireJS.UnitTests"/>
<TestProject Include="IntegrationTests"/>
<!-- Sass is only support in .NET 4.0 and above -->
<TestProject Include="Sass.UnitTests" Condition="'$(Configuration)' != 'ReleaseNET35'"/>
@@ -37,6 +38,7 @@
<NugetProject Include="Cassette.KnockoutJQueryTmpl"/>
<NugetProject Include="Cassette.Aspnet.Jasmine"/>
<NugetProject Include="Cassette.Spriting"/>
+ <NugetProject Include="Cassette.RequireJS"/>
</ItemGroup>
<Target Name="Default" DependsOnTargets="Build;Test;NugetPack">
View
0 ...sette.RequireJS.Tests/AmdConfiguration.cs → ...e.RequireJS.UnitTests/AmdConfiguration.cs
File renamed without changes.
View
0 ...ssette.RequireJS.Tests/AnonymousModule.cs → ...te.RequireJS.UnitTests/AnonymousModule.cs
File renamed without changes.
View
2 ...eJS.Tests/Cassette.RequireJS.Tests.csproj → ...Tests/Cassette.RequireJS.UnitTests.csproj
@@ -8,7 +8,7 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Cassette.RequireJS</RootNamespace>
- <AssemblyName>Cassette.RequireJS.Tests</AssemblyName>
+ <AssemblyName>Cassette.RequireJS.UnitTests</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
View
0 ...ireJS.Tests/ConfigurationScriptBuilder.cs → ...S.UnitTests/ConfigurationScriptBuilder.cs
File renamed without changes.
View
0 src/Cassette.RequireJS.Tests/NamedModule.cs → ...ssette.RequireJS.UnitTests/NamedModule.cs
File renamed without changes.
View
0 src/Cassette.RequireJS.Tests/PlainScript.cs → ...ssette.RequireJS.UnitTests/PlainScript.cs
File renamed without changes.
View
0 ...equireJS.Tests/Properties/AssemblyInfo.cs → ...reJS.UnitTests/Properties/AssemblyInfo.cs
File renamed without changes.
View
0 src/Cassette.RequireJS.Tests/packages.config → ...sette.RequireJS.UnitTests/packages.config
File renamed without changes.
View
18 src/Cassette.RequireJS/Cassette.RequireJS.csproj
@@ -24,6 +24,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -40,14 +41,7 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
- <Reference Include="System.Web">
- <HintPath>..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll</HintPath>
- </Reference>
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
+ <Reference Include="System.Web" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs">
@@ -72,16 +66,16 @@
<Compile Include="ViewHelperImplementation.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\Cassette.Views\Cassette.Views.csproj">
- <Project>{3a021487-a395-4fe6-9b41-336d0f1e6ad0}</Project>
- <Name>Cassette.Views</Name>
- </ProjectReference>
<ProjectReference Include="..\Cassette\Cassette.csproj">
<Project>{a5ccf9d3-5d49-4bfc-b9a6-9ec9e0e29c50}</Project>
<Name>Cassette</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
+ <None Include="Cassette.RequireJS.nutrans">
+ <SubType>Designer</SubType>
+ </None>
+ <None Include="Cassette.RequireJS.symbols.nutrans" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
View
13 src/Cassette.RequireJS/Cassette.RequireJS.nutrans
@@ -0,0 +1,13 @@
+<?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.RequireJS</id>
+ <description xdt:Transform="Insert">RequireJS support for Cassette.</description>
+ <dependencies xdt:Transform="Insert">
+ <dependency id="Cassette" version="$version$" />
+ </dependencies>
+ </metadata>
+ <files xdt:Transform="Insert">
+ <file src="bin\Release\Cassette.RequireJS.dll" target="lib\net40" />
+ </files>
+</package>
View
7 src/Cassette.RequireJS/Cassette.RequireJS.symbols.nutrans
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<package inherits="Cassette.RequireJS.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="bin\Release\Cassette.RequireJS.pdb" target="lib\net40" />
+ <file xdt:Transform="Insert" src="**\*.cs" target="src" />
+ </files>
+</package>
View
2 src/Cassette.RequireJS/Properties/AssemblyInfo.cs
@@ -14,4 +14,4 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("57dc68c7-0e57-4838-9cb2-0574f3d6ee78")]
-[assembly: InternalsVisibleTo("Cassette.RequireJS.Tests")]
+[assembly: InternalsVisibleTo("Cassette.RequireJS.UnitTests")]
View
4 src/Cassette.sln
@@ -66,14 +66,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cassette.Spriting", "Casset
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cassette.Spriting.UnitTests", "Cassette.Spriting.UnitTests\Cassette.Spriting.UnitTests.csproj", "{4AD6C38D-F3FA-4AE5-8485-B397A9224955}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cassette.RequireJS.Tests", "Cassette.RequireJS.Tests\Cassette.RequireJS.Tests.csproj", "{E45DA7CE-3A8F-4414-AA60-BDF636D15D1B}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cassette.RequireJS", "Cassette.RequireJS\Cassette.RequireJS.csproj", "{5672A520-0A60-424F-B9DB-29A80A96F24F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{4749F1D1-273C-4EC9-8D77-13642C7907DA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RequireJsSample", "RequireJsSample\RequireJsSample.csproj", "{8FBD2D87-142D-4B86-92F8-ED62844E255E}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cassette.RequireJS.UnitTests", "Cassette.RequireJS.UnitTests\Cassette.RequireJS.UnitTests.csproj", "{E45DA7CE-3A8F-4414-AA60-BDF636D15D1B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
DebugNET35|Any CPU = DebugNET35|Any CPU
View
1 src/packages/repositories.config
@@ -13,6 +13,7 @@
<repository path="..\Cassette.Less\packages.config" />
<repository path="..\Cassette.MSBuild.UnitTests\packages.config" />
<repository path="..\Cassette.RequireJS.Tests\packages.config" />
+ <repository path="..\Cassette.RequireJS.UnitTests\packages.config" />
<repository path="..\Cassette.RequireJS\packages.config" />
<repository path="..\Cassette.Sass.UnitTests\packages.config" />
<repository path="..\Cassette.Sass\packages.config" />

0 comments on commit 984c4b4

Please sign in to comment.
Something went wrong with that request. Please try again.