-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
457 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
/build | ||
/src/app/Failess/bin | ||
/src/app/Failess/obj | ||
/src/app/FailLib/bin | ||
/src/app/FailLib/obj | ||
/src/app/FailTests/bin | ||
/src/app/FailTests/obj | ||
|
||
/*.suo | ||
/*.userprefs | ||
/Fail.sln | ||
|
||
packages/* | ||
!packages/NuGet | ||
!packages/repositories.conig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,68 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.20617.1 PREVIEW | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Failess", "src\app\Failess\Failess.fsproj", "{CA923BCA-C273-4744-9658-7DF7001FF266}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FailessLib", "src\app\FailessLib\FailessLib.fsproj", "{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FailLib", "src\app\FailLib\FailLib.fsproj", "{49505BE7-ABD8-4307-A246-CCEAA3BEED83}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|Mixed Platforms = Debug|Mixed Platforms | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|Mixed Platforms = Release|Mixed Platforms | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|x86.ActiveCfg = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|x86.ActiveCfg = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|x86.ActiveCfg = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.21005.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Failess", "src\app\Failess\Failess.fsproj", "{CA923BCA-C273-4744-9658-7DF7001FF266}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FailessLib", "src\app\FailessLib\FailessLib.fsproj", "{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FailLib", "src\app\FailLib\FailLib.fsproj", "{49505BE7-ABD8-4307-A246-CCEAA3BEED83}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FailTests", "src\app\FailTests\FailTests.fsproj", "{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|Mixed Platforms = Debug|Mixed Platforms | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|Mixed Platforms = Release|Mixed Platforms | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{CA923BCA-C273-4744-9658-7DF7001FF266}.Release|x86.ActiveCfg = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{E206A7D6-5E9B-496C-A661-CD4EF23A7A01}.Release|x86.ActiveCfg = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{49505BE7-ABD8-4307-A246-CCEAA3BEED83}.Release|x86.ActiveCfg = Release|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{0310969E-91C0-4E5B-99AC-BE5FC2AFF601}.Release|x86.ActiveCfg = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,12 @@ | ||
@echo off | ||
::Env | ||
if %PROCESSOR_ARCHITECTURE%==x86 ( | ||
set MSBuild="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" | ||
) else ( | ||
set MSBUILD=%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe | ||
) | ||
|
||
cls | ||
SET EnableNuGetPackageRestore=true | ||
|
||
if not exist "tools\FAKE\tools\Fake.exe" ( | ||
"tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" | ||
if not exist "packages\FAKE\tools\Fake.exe" ( | ||
"packages\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "packages" "-ExcludeVersion" "-Prerelease" | ||
) | ||
|
||
::Clean | ||
rm -rf build | ||
mkdir build | ||
|
||
::Build | ||
%MSBuild% Failess.sln /p:Configuration=Release | ||
|
||
::F# 3.1 | ||
XCOPY /e "%ProgramFiles%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\FSharp.Core.dll" "build" | ||
"packages\FAKE\tools\Fake.exe" "build.fsx" | ||
|
||
::Show output | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#I @"packages/FAKE/tools/" | ||
#r @"FakeLib.dll" | ||
|
||
open Fake | ||
open System | ||
open System.IO | ||
|
||
let buildDir = "./build" | ||
let nugetDir = "./packages" | ||
let packagesDir = "./packages" | ||
|
||
Target "Clean" (fun _ -> CleanDirs [buildDir]) | ||
|
||
Target "RestorePackages" RestorePackages | ||
|
||
Target "BuildSolution" (fun _ -> | ||
MSBuildWithDefaults "Build" ["./Failess.sln"] | ||
|> Log "AppBuild-Output: " | ||
) | ||
|
||
Target "F# 3.1" (fun _ -> | ||
let programFiles = | ||
if (IntPtr.Size = 4) | ||
then Environment.GetEnvironmentVariable("ProgramFiles") | ||
else Environment.GetEnvironmentVariable("ProgramFiles(x86)") | ||
(* Moving from F# 3.0 to F# 3.1 is hard... *) | ||
sprintf @"%s\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\FSharp.Core.dll" programFiles | ||
|> fun newCore -> if File.Exists newCore then | ||
trace "-* Replacing 3.0 FSharp.Core.dll with 3.1 one\n" | ||
File.Copy(newCore, "build\FSharp.Core.dll", true) | ||
) | ||
|
||
Target "FailLib Tests" (fun _ -> | ||
trace "TODO: run fuchu tests from FAKE" | ||
) | ||
|
||
Target "Success" (fun _ -> ()) | ||
|
||
"Clean" | ||
==> "RestorePackages" | ||
==> "BuildSolution" | ||
==> "F# 3.1" | ||
==> "FailLib Tests" | ||
==> "Success" | ||
|
||
RunTargetOrDefault "Success" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,72 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{49505be7-abd8-4307-a246-cceaa3beed83}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>FailLib</RootNamespace> | ||
<AssemblyName>FailLib</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<Name>FailLib</Name> | ||
<TargetFSharpCoreVersion>4.3.0.0</TargetFSharpCoreVersion> | ||
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<Tailcalls>false</Tailcalls> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<WarningLevel>3</WarningLevel> | ||
<DocumentationFile>bin\Debug\FailLib.XML</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<Tailcalls>true</Tailcalls> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<WarningLevel>3</WarningLevel> | ||
<DocumentationFile>bin\Release\FailLib.XML</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="FakeLib"> | ||
<HintPath>..\..\..\tools\FAKE\tools\FakeLib.dll</HintPath> | ||
</Reference> | ||
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="mscorlib" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Numerics" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="FSI.Helper.fs" /> | ||
</ItemGroup> | ||
<Choose> | ||
<When Condition="'$(VisualStudioVersion)' == '11.0'"> | ||
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')"> | ||
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath> | ||
</PropertyGroup> | ||
</When> | ||
<Otherwise> | ||
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets')"> | ||
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\FSharp\Microsoft.FSharp.Targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{49505be7-abd8-4307-a246-cceaa3beed83}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>FailLib</RootNamespace> | ||
<AssemblyName>FailLib</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<Name>FailLib</Name> | ||
<TargetFSharpCoreVersion>4.3.0.0</TargetFSharpCoreVersion> | ||
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<Tailcalls>false</Tailcalls> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<WarningLevel>3</WarningLevel> | ||
<DocumentationFile>bin\Debug\FailLib.XML</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<Tailcalls>true</Tailcalls> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<WarningLevel>3</WarningLevel> | ||
<DocumentationFile>bin\Release\FailLib.XML</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="FakeLib"> | ||
<HintPath>..\..\..\packages\FAKE\tools\FakeLib.dll</HintPath> | ||
</Reference> | ||
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="mscorlib" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Numerics" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="FSI.Helper.fs" /> | ||
</ItemGroup> | ||
<Choose> | ||
<When Condition="'$(VisualStudioVersion)' == '11.0'"> | ||
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')"> | ||
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath> | ||
</PropertyGroup> | ||
</When> | ||
<Otherwise> | ||
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets')"> | ||
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\FSharp\Microsoft.FSharp.Targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
open Fuchu | ||
open Failess | ||
open TestCSS | ||
|
||
open System | ||
open System.Text.RegularExpressions | ||
|
||
let convertTest = | ||
testCase "CSSConvert Test" <| | ||
fun _ -> Assert.Equal("ToFailess" | ||
, failess | ||
, ToFailess <| ( Array.toList <| Regex.Split(css, "\r\n") ) | ||
) | ||
|
||
[<EntryPoint>] | ||
let main argv = | ||
run convertTest |> ignore | ||
0 // return an integer exit code |
Oops, something went wrong.