Skip to content

Commit

Permalink
Update solution/projects
Browse files Browse the repository at this point in the history
  • Loading branch information
sideeffffect committed Oct 30, 2016
1 parent dd0d469 commit 0052c65
Show file tree
Hide file tree
Showing 14 changed files with 123 additions and 147 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -191,6 +191,7 @@ docs/content/release-notes.md
.fake
docs/tools/FSharp.Formatting.svclog
TestResult.xml
AssemblyInfo.fs

tmp.*

32 changes: 12 additions & 20 deletions build.fsx
Expand Up @@ -14,7 +14,6 @@ open System.IO
#else
#load "packages/build/SourceLink.Fake/tools/Fake.fsx"
open SourceLink

#endif

// --------------------------------------------------------------------------------------
Expand Down Expand Up @@ -120,11 +119,8 @@ Target "CopyBinaries" (fun _ ->
// Clean build results

Target "Clean" (fun _ ->
CleanDirs ["bin"; "temp"]
)

Target "CleanDocs" (fun _ ->
CleanDirs ["docs/output"]
!! solutionFile |> MSBuildRelease "" "Clean" |> ignore
CleanDirs ["bin"; "temp"; "docs/output"]
)

// --------------------------------------------------------------------------------------
Expand All @@ -133,9 +129,9 @@ Target "CleanDocs" (fun _ ->
Target "Build" (fun _ ->
!! solutionFile
#if MONO
|> MSBuildReleaseExt "" [ ("DefineConstants","MONO") ] "Rebuild"
|> MSBuildReleaseExt "" [ ("DefineConstants","MONO") ] "Build"
#else
|> MSBuildRelease "" "Rebuild"
|> MSBuildRelease "" "Build"
#endif
|> ignore
)
Expand Down Expand Up @@ -371,40 +367,36 @@ Target "BuildPackage" DoNothing

Target "All" DoNothing

"Clean"
==> "AssemblyInfo"
"AssemblyInfo"
==> "Build"
==> "CopyBinaries"
==> "RunTests"
==> "GenerateReferenceDocs"
==> "GenerateDocs"
==> "All"
=?> ("ReleaseDocs",isLocalBuild)

"All"
#if MONO
#else
=?> ("SourceLink", Pdbstr.tryFind().IsSome )
#endif
==> "NuGet"
==> "BuildPackage"
==> "All"
=?> ("ReleaseDocs",isLocalBuild)

"CleanDocs"
==> "GenerateHelp"
"GenerateHelp"
==> "GenerateReferenceDocs"
==> "GenerateDocs"

"CleanDocs"
==> "GenerateHelpDebug"

"GenerateHelpDebug"
==> "KeepRunning"

"Clean"
==> "Release"

"BuildPackage"
==> "PublishNuget"
==> "Release"

"ReleaseDocs"
==> "Release"

RunTargetOrDefault "All"
57 changes: 29 additions & 28 deletions paket.lock
Expand Up @@ -2,15 +2,16 @@ NUGET
remote: https://www.nuget.org/api/v2
FSharp.Control.AsyncSeq (2.0.9)
FSharp.Core (4.0.0.1) - redirects: force
FSharpx.Async (1.12)
FSharpx.Async (1.13)
FSharp.Control.AsyncSeq
FSharp.Core
FSharpx.Collections (1.15.2)
FSharp.Core

GROUP Build
NUGET
remote: https://www.nuget.org/api/v2
FAKE (4.39.1)
FAKE (4.41.6)
FSharp.Compiler.Service (2.0.0.6)
FSharp.Formatting (2.14.4)
FSharp.Compiler.Service (2.0.0.6)
Expand All @@ -23,40 +24,40 @@ NUGET
Microsoft.Net.Http (2.2.29) - framework: net10, net11, net20, net30, net35, net40, net40-full
Microsoft.Bcl (>= 1.1.10)
Microsoft.Bcl.Build (>= 1.0.14)
Octokit (0.22)
Octokit (0.23)
Microsoft.Net.Http - framework: net10, net11, net20, net30, net35, net40, net40-full
SourceLink.Fake (1.1)
GITHUB
remote: fsharp/FAKE
modules/Octokit/Octokit.fsx (73589a85a5e30a2c78d61efccdd3446a99483142)
modules/Octokit/Octokit.fsx (889bda9367dfb24f9abb524165a0dbe2cdd86252)
Octokit (>= 0.20)
GROUP Test
NUGET
remote: https://www.nuget.org/api/v2
FsCheck (2.6)
FsCheck (2.6.2)
FSharp.Core (>= 3.1.2.5)
FSharp.Core (4.0.0.1)
FsUnit (2.3.1)
FsUnit (2.3.2)
FSharp.Core (>= 3.1.2.5)
NUnit (3.4.1)
NUnit (3.4.1)
NUnit.Console (3.4.1)
NUnit.ConsoleRunner (>= 3.4.1)
NUnit.Extension.NUnitProjectLoader (>= 3.4.1)
NUnit.Extension.NUnitV2Driver (>= 3.4.1)
NUnit.Extension.NUnitV2ResultWriter (>= 3.4.1)
NUnit.Extension.TeamCityEventListener (>= 1.0.1)
NUnit.Extension.VSProjectLoader (>= 3.4.1)
NUnit.ConsoleRunner (3.4.1)
NUnit.Extension.NUnitProjectLoader (3.4.1)
NUnit.Extension.NUnitV2Driver (3.4.1)
NUnit.Extension.NUnitV2ResultWriter (3.4.1)
NUnit.Extension.TeamCityEventListener (1.0.1)
NUnit.Extension.VSProjectLoader (3.4.1)
NUnit.Runners (3.4.1)
NUnit.ConsoleRunner (>= 3.4.1)
NUnit.Extension.NUnitProjectLoader (>= 3.4.1)
NUnit.Extension.NUnitV2Driver (>= 3.4.1)
NUnit.Extension.NUnitV2ResultWriter (>= 3.4.1)
NUnit.Extension.TeamCityEventListener (>= 1.0.1)
NUnit.Extension.VSProjectLoader (>= 3.4.1)
NUnit (3.5)
NUnit (3.5)
NUnit.Console (3.5)
NUnit.ConsoleRunner (>= 3.5)
NUnit.Extension.NUnitProjectLoader (>= 3.5)
NUnit.Extension.NUnitV2Driver (>= 3.5)
NUnit.Extension.NUnitV2ResultWriter (>= 3.5)
NUnit.Extension.TeamCityEventListener (>= 1.0.2)
NUnit.Extension.VSProjectLoader (>= 3.5)
NUnit.ConsoleRunner (3.5)
NUnit.Extension.NUnitProjectLoader (3.5)
NUnit.Extension.NUnitV2Driver (3.5)
NUnit.Extension.NUnitV2ResultWriter (3.5)
NUnit.Extension.TeamCityEventListener (1.0.2)
NUnit.Extension.VSProjectLoader (3.5)
NUnit.Runners (3.5)
NUnit.ConsoleRunner (>= 3.5)
NUnit.Extension.NUnitProjectLoader (>= 3.5)
NUnit.Extension.NUnitV2Driver (>= 3.5)
NUnit.Extension.NUnitV2ResultWriter (>= 3.5)
NUnit.Extension.TeamCityEventListener (>= 1.0.2)
NUnit.Extension.VSProjectLoader (>= 3.5)
13 changes: 0 additions & 13 deletions src/FSharpx.Extras/AssemblyInfo.fs

This file was deleted.

38 changes: 21 additions & 17 deletions src/FSharpx.Extras/FSharpx.Extras.fsproj
@@ -1,4 +1,3 @@
<?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>
Expand All @@ -21,10 +20,10 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Tailcalls>false</Tailcalls>
<OutputPath>..\..\bin\Debug\</OutputPath>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<WarningLevel>3</WarningLevel>
<DocumentationFile>..\..\bin\Debug\FSharpx.Extras.xml</DocumentationFile>
<DocumentationFile>bin\Debug\FSharpx.Extras.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -41,23 +40,29 @@
<PropertyGroup Condition="$(TargetFrameworkVersion) == 'v4.0'">
<DefineConstants>NET40</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets') And '$(TargetFrameworkProfile)' == ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath>
<PropertyGroup Condition="$(TargetFrameworkVersion) == 'v4.5'">
<DefineConstants>NET45</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets') And '$(TargetFrameworkProfile)' == ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets') And '$(TargetFrameworkProfile)' != ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets</FSharpTargetsPath>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.Portable.FSharp.Targets') And '$(TargetFrameworkProfile)' != ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.Portable.FSharp.Targets</FSharpTargetsPath>
<PropertyGroup>
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
</PropertyGroup>
<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="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
<ItemGroup>
<Content Include="paket.references" />
<None Include="paket.template" />
<Content Include="app.config" />
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Prelude.fs" />
<Compile Include="Pluralizer.fs" />
<Compile Include="String.fs" />
Expand All @@ -79,7 +84,6 @@
<Compile Include="Net.fs" />
<Compile Include="Conneg.fs" />
<Compile Include="Enum.fs" />
<None Include="paket.template" />
</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib" />
Expand Down Expand Up @@ -174,10 +178,10 @@
</When>
</Choose>
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
<ItemGroup>
<Reference Include="FSharpx.Async">
<HintPath>..\..\packages\FSharpx.Async\lib\net40\FSharpx.Async.dll</HintPath>
<HintPath>..\..\packages\FSharpx.Async\lib\net45\FSharpx.Async.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
Expand Down
5 changes: 1 addition & 4 deletions src/FSharpx.Extras/app.config
@@ -1,13 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>

<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<Paket>True</Paket>
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="4.4.0.0" />
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="4.4.0.0" />
</dependentAssembly>
</assemblyBinding></runtime></configuration>
13 changes: 0 additions & 13 deletions src/FSharpx.Text.StructuredFormat/AssemblyInfo.fs

This file was deleted.

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<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>
Expand All @@ -12,15 +11,14 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFSharpCoreVersion>4.3.0.0</TargetFSharpCoreVersion>
<Name>FSharpx.Text.StructuredFormat</Name>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<TargetFrameworkProfile></TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Tailcalls>false</Tailcalls>
<OutputPath>..\..\bin\Debug\</OutputPath>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<WarningLevel>3</WarningLevel>
<DocumentationFile>bin\Debug\FSharpx.Text.StructuredFormat.xml</DocumentationFile>
Expand All @@ -40,25 +38,30 @@
<PropertyGroup Condition="$(TargetFrameworkVersion) == 'v4.0'">
<DefineConstants>NET40</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets') And '$(TargetFrameworkProfile)' == ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath>
<PropertyGroup Condition="$(TargetFrameworkVersion) == 'v4.5'">
<DefineConstants>NET45</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets') And '$(TargetFrameworkProfile)' == ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets') And '$(TargetFrameworkProfile)' != ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets</FSharpTargetsPath>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.Portable.FSharp.Targets') And '$(TargetFrameworkProfile)' != ''">
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.Portable.FSharp.Targets</FSharpTargetsPath>
<PropertyGroup>
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
</PropertyGroup>
<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="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<None Include="paket.references" />
<None Include="paket.template" />
<Compile Include="StructuredFormat.fsi" />
<Compile Include="StructuredFormat.fs" />
<None Include="paket.template" />
<None Include="paket.references" />
</ItemGroup>
<ItemGroup>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="'$(TargetFrameworkProfile)' == ''">
Expand Down

0 comments on commit 0052c65

Please sign in to comment.