Permalink
Browse files

add nuspec and attempt to add .cs.pp file for NSass preprocessor

  • Loading branch information...
1 parent 9739d74 commit e4494a504f3200169507c46eb2ce15d2346e9abd @AlexCuse AlexCuse committed Mar 10, 2014
@@ -0,0 +1,15 @@
+[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.SquishItNSass), "Start")]
+
+namespace $rootnamespace$.App_Start
+{
+ using SquishIt.Framework;
+ using SquishIt.NSass;
+
+ public class SquishItNSass
+ {
+ public static void Start()
+ {
+ Bundle.RegisterStylePreprocessor(new NSassPreprocessor());
+ }
+ }
+}
@@ -56,6 +56,7 @@
</Content>
</ItemGroup>
<ItemGroup>
+ <None Include="Content\App_Start\SquishItNSass.cs.pp" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -3,24 +3,24 @@
<metadata>
<id>SquishIt.NSass</id>
<version>0.9.5.1-beta3</version>
- <authors>Justin Etheredge, Alex Ullrich, Rodrigo Dumont</authors>
+ <authors>Josh Kodroff, Alex Ullrich</authors>
<owners>Justin Etheredge, Alex Ullrich</owners>
<projectUrl>https://github.com/jetheredge/SquishIt</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
- Adds Sass processing capability to SquishIt using the NSass/libsass processor.
- SCSS syntax is supported, Sass syntax is not.
- If you need Sass syntax support, use the SquishIt.Sass package.
+ Adds Sass processing capability to SquishIt. Can compile .sass and .scss files.
+ SASS compilation uses NSass wrapper around libsass C library.
+ Use this package if you require faster or more up to date SASS support and don't need to support the legacy SASS file extension.
</description>
<dependencies>
<dependency id="SquishIt" version="0.9.5.1-beta3" />
<dependency id="NSass.Core" version="0.0.3.0" />
+ <dependency id="WebActivator" version="1.4" />
</dependencies>
</metadata>
<files>
- <file src="..\SquishIt.NSass\bin\Release\SquishIt.Sass.dll" target="lib\SquishIt.Sass.dll" />
- <file src="..\SquishIt.NSass\bin\Release\SquishIt.Sass.pdb" target="lib\SquishIt.Sass.pdb" />
- <file src="..\SquishIt.NSass\bin\Release\NSass.Wrapper\NSass.Wrapper.x64.dll" target="lib\NSass.Wrapper\NSass.Wrapper.x64.dll" />
- <file src="..\SquishIt.NSass\bin\Release\NSass.Wrapper\NSass.Wrapper.x86.dll" target="lib\NSass.Wrapper\NSass.Wrapper.x86.dll" />
+ <file src="..\SquishIt.NSass\bin\Release\SquishIt.NSass.dll" target="lib\SquishIt.NSass.dll" />
+ <file src="..\SquishIt.NSass\bin\Release\SquishIt.NSass.pdb" target="lib\SquishIt.NSass.pdb" />
+ <file src="..\SquishIt.NSass\Content\App_Start\SquishItNSass.cs.pp" target="Content\App_Start\SquishItNSass.cs.pp" />
</files>
</package>

0 comments on commit e4494a5

Please sign in to comment.