Skip to content

Commit

Permalink
In BundleTransformer.SassAndScss added support of the LibSass version…
Browse files Browse the repository at this point in the history
… 3.6.2
  • Loading branch information
Taritsyn committed Oct 8, 2019
1 parent 219f6d1 commit 8b3925a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\LibSassHost.Native.win-x86.1.2.6\build\LibSassHost.Native.win-x86.props" Condition="Exists('..\..\packages\LibSassHost.Native.win-x86.1.2.6\build\LibSassHost.Native.win-x86.props')" />
<Import Project="..\..\packages\LibSassHost.Native.win-x64.1.2.6\build\LibSassHost.Native.win-x64.props" Condition="Exists('..\..\packages\LibSassHost.Native.win-x64.1.2.6\build\LibSassHost.Native.win-x64.props')" />
<Import Project="..\..\packages\LibSassHost.Native.win-x86.1.2.7\build\LibSassHost.Native.win-x86.props" Condition="Exists('..\..\packages\LibSassHost.Native.win-x86.1.2.7\build\LibSassHost.Native.win-x86.props')" />
<Import Project="..\..\packages\LibSassHost.Native.win-x64.1.2.7\build\LibSassHost.Native.win-x64.props" Condition="Exists('..\..\packages\LibSassHost.Native.win-x64.1.2.7\build\LibSassHost.Native.win-x64.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -482,7 +482,7 @@
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
<Error Condition="!Exists('..\..\packages\LibSassHost.Native.win-x64.1.2.6\build\LibSassHost.Native.win-x64.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\LibSassHost.Native.win-x64.1.2.6\build\LibSassHost.Native.win-x64.props'))" />
<Error Condition="!Exists('..\..\packages\LibSassHost.Native.win-x86.1.2.6\build\LibSassHost.Native.win-x86.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\LibSassHost.Native.win-x86.1.2.6\build\LibSassHost.Native.win-x86.props'))" />
<Error Condition="!Exists('..\..\packages\LibSassHost.Native.win-x64.1.2.7\build\LibSassHost.Native.win-x64.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\LibSassHost.Native.win-x64.1.2.7\build\LibSassHost.Native.win-x64.props'))" />
<Error Condition="!Exists('..\..\packages\LibSassHost.Native.win-x86.1.2.7\build\LibSassHost.Native.win-x86.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\LibSassHost.Native.win-x86.1.2.7\build\LibSassHost.Native.win-x86.props'))" />
</Target>
</Project>
4 changes: 2 additions & 2 deletions samples/BundleTransformer.Sample.AspNet4.Mvc4/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<package id="jQuery.UI.Combined" version="1.11.4" targetFramework="net40" />
<package id="jQuery.Validation" version="1.14.0" targetFramework="net40" />
<package id="knockoutjs" version="3.4.0" targetFramework="net40" />
<package id="LibSassHost.Native.win-x64" version="1.2.6" targetFramework="net40" />
<package id="LibSassHost.Native.win-x86" version="1.2.6" targetFramework="net40" />
<package id="LibSassHost.Native.win-x64" version="1.2.7" targetFramework="net40" />
<package id="LibSassHost.Native.win-x86" version="1.2.7" targetFramework="net40" />
<package id="Microsoft.AspNet.Mvc" version="4.0.40804.0" targetFramework="net40" />
<package id="Microsoft.AspNet.Razor" version="2.0.30506.0" targetFramework="net40" />
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net40" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591;NU5125</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Description>BundleTransformer.SassAndScss contains one translator-adapter - `SassAndScssTranslator`. This adapter makes translation of Sass and SCSS code to CSS code by using the LibSass Host for .NET (https://github.com/Taritsyn/LibSassHost) version 1.2.6 (supports the LibSass (http://sass-lang.com/libsass) version 3.6.1). Also contains the `SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text output of translated Sass or SCSS asset.
<Description>BundleTransformer.SassAndScss contains one translator-adapter - `SassAndScssTranslator`. This adapter makes translation of Sass and SCSS code to CSS code by using the LibSass Host for .NET (https://github.com/Taritsyn/LibSassHost) version 1.2.7 (supports the LibSass (http://sass-lang.com/libsass) version 3.6.2). Also contains the `SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text output of translated Sass or SCSS asset.

This package does not contain the native implementations of LibSass for Windows. Therefore, you need to choose and install the most appropriate package(s) for your platform. The following packages are available:

* LibSassHost.Native.win-x86
* LibSassHost.Native.win-x64</Description>
<PackageIconUrl>https://raw.githubusercontent.com/Taritsyn/BundleTransformer/master/images/icons/128/BundleTransformer_SassAndScss_Logo_128x128.png</PackageIconUrl>
<PackageTags>BundleTransformer;System.Web.Optimization;IBundleTransform;ASP.NET;CSS;Bundling;Sass;SCSS;Translation;Translator;Compilation;Compiler</PackageTags>
<PackageReleaseNotes>1. Added support of the LibSass version 3.6.1;
2. MSVC runtime was embedded into the LibSass native assemblies for Windows. Now you do not need to install the Microsoft Visual C++ Redistributable for Visual Studio 2017.</PackageReleaseNotes>
<PackageReleaseNotes>Added support of the LibSass version 3.6.2.</PackageReleaseNotes>
</PropertyGroup>

<Import Project="../../build/common.props" />
Expand All @@ -29,7 +28,7 @@ This package does not contain the native implementations of LibSass for Windows.
<Reference Include="System.Web" Pack="false" />

<PackageReference Include="AdvancedStringBuilder" Version="0.1.0" />
<PackageReference Include="LibSassHost" Version="1.2.6" />
<PackageReference Include="LibSassHost" Version="1.2.7" />

<ProjectReference Include="../BundleTransformer.Core/BundleTransformer.Core.csproj" />
</ItemGroup>
Expand Down
9 changes: 3 additions & 6 deletions src/BundleTransformer.SassAndScss/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
BundleTransformer.SassAndScss contains one translator-adapter -
`SassAndScssTranslator`. This adapter makes translation of Sass and SCSS code to
CSS code by using the LibSass Host for .NET
(https://github.com/Taritsyn/LibSassHost) version 1.2.6 (supports the LibSass
(http://sass-lang.com/libsass) version 3.6.1). Also contains the
(https://github.com/Taritsyn/LibSassHost) version 1.2.7 (supports the LibSass
(http://sass-lang.com/libsass) version 3.6.2). Also contains the
`SassAndScssAssetHandler` debugging HTTP handler, which is responsible for text
output of translated Sass or SCSS asset.

Expand All @@ -29,10 +29,7 @@
=============
RELEASE NOTES
=============
1. Added support of the LibSass version 3.6.1;
2. MSVC runtime was embedded into the LibSass native assemblies for Windows.
Now you do not need to install the Microsoft Visual C++ Redistributable for
Visual Studio 2017.
Added support of the LibSass version 3.6.2.

====================
POST-INSTALL ACTIONS
Expand Down

0 comments on commit 8b3925a

Please sign in to comment.