Skip to content

Commit f27e5cf

Browse files
committed
Compile libsass for one platform at a time
Added an inline MSBuild task, which make use of a new CoreFX API `System.Runtime.InteropServices.RuntimeInformation` to obtain OS description and architecture information, then translates into `LibSassPlatform` (Win32 or Win64 etc.). Also added ability to cross compile, e.g. Win32 on 64-bit system. Additional OSes will be added with .NET Core support. Added cross compile configurations for AppVeyor CI.
1 parent 72a0578 commit f27e5cf

File tree

9 files changed

+306
-1142
lines changed

9 files changed

+306
-1142
lines changed

LibSass.NET.Tests/LibSass.NET.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
</Target>
118118
<Target Name="AfterBuild">
119119
<Copy
120-
SourceFiles="$(LibSassPath)libsass32.dll;$(LibSassPath)libsass64.dll"
120+
SourceFiles="$(LibSassPath)libsass.dll"
121121
DestinationFolder="$(OutputPath)"
122122
SkipUnchangedFiles="true" />
123123
</Target>

0 commit comments

Comments
 (0)