Skip to content

Commit

Permalink
prepare msie coffeescript preprocessor for nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCuse committed Nov 21, 2012
1 parent 8d2bf9f commit ec92599
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 12 deletions.
@@ -0,0 +1,15 @@
[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.SquishItMsIeCoffeeScript), "Start")]

namespace $rootnamespace$.App_Start
{
using SquishIt.Framework;
using SquishIt.MsIeCoffeeScript;

public class SquishItMsIeCoffeeScript
{
public static void Start()
{
Bundle.RegisterScriptPreprocessor(new CoffeeScriptPreprocessor());
}
}
}
1 change: 1 addition & 0 deletions SquishIt.MsIeCoffeeScript/SquishIt.MsIeCoffeeScript.csproj
Expand Up @@ -58,6 +58,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Content\App_Start\SquishItMsIeCoffeeScript.cs.pp" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
2 changes: 2 additions & 0 deletions SquishIt.sln
Expand Up @@ -16,8 +16,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SquishIt.Sass", "SquishIt.S
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuspec", "nuspec", "{0723B20D-9241-4D11-9242-09E20F0C55A9}"
ProjectSection(SolutionItems) = preProject
nuspec\squishit.coffeescript.nuspec = nuspec\squishit.coffeescript.nuspec
nuspec\squishit.hogan.nuspec = nuspec\squishit.hogan.nuspec
nuspec\squishit.less.nuspec = nuspec\squishit.less.nuspec
nuspec\squishit.msiecoffeescript.nuspec = nuspec\squishit.msiecoffeescript.nuspec
nuspec\squishit.mvc.nuspec = nuspec\squishit.mvc.nuspec
nuspec\squishit.nuspec = nuspec\squishit.nuspec
nuspec\squishit.sass.nuspec = nuspec\squishit.sass.nuspec
Expand Down
4 changes: 2 additions & 2 deletions nuspec/squishit.coffeescript.nuspec
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>SquishIt.CoffeeScript</id>
<version>0.9.2-beta2</version>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich, Rodrigo Dumont</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds CoffeeScript processing capability to SquishIt.</description>
<dependencies>
<dependency id="SquishIt" version="0.9.2-beta2" />
<dependency id="SquishIt" version="0.9.2-beta3" />
<dependency id="Jurassic" version="2.1.1" />
<dependency id="WebActivator" version="1.4" />
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions nuspec/squishit.hogan.nuspec
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>SquishIt.Hogan</id>
<version>0.9.2-beta2</version>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich, Abdrashitov Vadim</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds Hogan processing capability to SquishIt.</description>
<dependencies>
<dependency id="SquishIt" version="0.9.2-beta2" />
<dependency id="SquishIt" version="0.9.2-beta3" />
<dependency id="Jurassic" version="2.1.1" />
<dependency id="WebActivator" version="1.4" />
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions nuspec/squishit.less.nuspec
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>SquishIt.Less</id>
<version>0.9.2-beta2</version>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich, Rodrigo Dumont</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds LESS processing capability to SquishIt.</description>
<dependencies>
<dependency id="SquishIt" version="0.9.2-beta2" />
<dependency id="SquishIt" version="0.9.2-beta3" />
<dependency id="dotless" version="1.3.0.0" />
<dependency id="WebActivator" version="1.4" />
</dependencies>
Expand Down
21 changes: 21 additions & 0 deletions nuspec/squishit.msiecoffeescript.nuspec
@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>SquishIt.MsIeCoffeeScript</id>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich, Alexey Gorbach</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds CoffeeScript processing capability to SquishIt using Internet Explorer's javascript engine.</description>
<dependencies>
<dependency id="SquishIt" version="0.9.2-beta3" />
<dependency id="MsIeJavaScriptEngine" version="1.1.1" />
<dependency id="WebActivator" version="1.4" />
</dependencies>
</metadata>
<files>
<file src="..\SquishIt.MsIeCoffeeScript\bin\Release\SquishIt.MsIeCoffeeScript.dll" target="lib\SquishIt.MsIeCoffeeScript.dll" />
<file src="..\SquishIt.MsIeCoffeeScript\Content\App_Start\SquishItMsIeCoffeeScript.cs.pp" target="Content\App_Start\SquishItMsIeCoffeeScript.cs.pp" />
</files>
</package>
4 changes: 2 additions & 2 deletions nuspec/squishit.mvc.nuspec
@@ -1,15 +1,15 @@
<package>
<metadata>
<id>SquishIt.Mvc</id>
<version>0.9.2-beta2</version>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<description>
ASP.NET MVC Extensions for SquishIt
</description>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<dependencies>
<dependency id="SquishIt" version="0.9.2-beta2" />
<dependency id="SquishIt" version="0.9.2-beta3" />
</dependencies>
</metadata>
<files>
Expand Down
2 changes: 1 addition & 1 deletion nuspec/squishit.nuspec
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>SquishIt</id>
<version>0.9.2-beta2</version>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions nuspec/squishit.sass.nuspec
Expand Up @@ -2,14 +2,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>SquishIt.Sass</id>
<version>0.9.2-beta2</version>
<version>0.9.2-beta3</version>
<authors>Justin Etheredge, Alex Ullrich, Rodrigo Dumont</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adds Sass processing capability to SquishIt. Can compile .sass and .scss files.</description>
<dependencies>
<dependency id="SquishIt" version="0.9.2-beta2" />
<dependency id="SquishIt" version="0.9.2-beta3" />
<dependency id="IronRuby" version="1.1.3" />
<dependency id="WebActivator" version="1.4" />
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion tools/pack-push.bat
@@ -1,6 +1,6 @@
msbuild ..\SquishIt.sln /p:Configuration=Release
for %%s in (..\nuspec\*.nuspec) do (
nuget pack %%s -Symbols
nuget pack %%s
)
for %%p in (*.nupkg) do (
nuget push %%p
Expand Down

0 comments on commit ec92599

Please sign in to comment.