Skip to content

Commit

Permalink
don't copy FSharp.Core into the output directory for the tests (becau…
Browse files Browse the repository at this point in the history
…se sigdata and optdata will be missing)
  • Loading branch information
matthid committed Dec 24, 2015
1 parent afe9ba1 commit 25b9dec
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
7 changes: 1 addition & 6 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
## 2.12.1-alpha3
## 2.12.1 (24 December, 2015)
- update dependencies

## 2.12.1-alpha2 (19 December, 2015)
- strengthen the VFSPT version.
- Upgrade the CommandTool to F# 4 and bundle FSharp.Core with sigdata and optdata.

## 2.12.1-alpha1 (18 December, 2015)
- Fix crash when a fenced code block starts with an empty line (https://github.com/tpetricek/FSharp.Formatting/pull/361)
- Support for all known xml elements (https://github.com/tpetricek/FSharp.Formatting/pull/331)

Expand Down
2 changes: 1 addition & 1 deletion src/Common/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[assembly: AssemblyDescriptionAttribute("A package of libraries for building great F# documentation, samples and blogs")]
[assembly: AssemblyVersionAttribute("2.12.1")]
[assembly: AssemblyFileVersionAttribute("2.12.1")]
[assembly: AssemblyInformationalVersionAttribute("2.12.1-alpha3")]
[assembly: AssemblyInformationalVersionAttribute("2.12.1")]
[assembly: AssemblyCopyrightAttribute("Apache 2.0 License")]
namespace System {
internal static class AssemblyVersionInformation {
Expand Down
2 changes: 1 addition & 1 deletion src/Common/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ open System.Reflection
[<assembly: AssemblyDescriptionAttribute("A package of libraries for building great F# documentation, samples and blogs")>]
[<assembly: AssemblyVersionAttribute("2.12.1")>]
[<assembly: AssemblyFileVersionAttribute("2.12.1")>]
[<assembly: AssemblyInformationalVersionAttribute("2.12.1-alpha3")>]
[<assembly: AssemblyInformationalVersionAttribute("2.12.1")>]
[<assembly: AssemblyCopyrightAttribute("Apache 2.0 License")>]
do ()

Expand Down
4 changes: 3 additions & 1 deletion src/FSharp.CodeFormat/CodeFormatAgent.fs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ type CodeFormatAgent() =

// Create an instance of an InteractiveChecker (which does background analysis
// in a typical IntelliSense editor integration for F#)
let languageService = LanguageService()
let languageService = LanguageService()
do languageService.SetCriticalErrorHandler(fun exn str1 str2 opts ->
FSharp.Formatting.Common.Log.errorf "Language Service Error (%s, %s, %A): %O" str1 str2 opts exn)

/// Type-checking takes some time and doesn't return information on the
/// first call, so this function creates workflow that tries repeatedly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<HintPath>..\..\bin\FSharp.CodeFormat.dll</HintPath>
</Reference>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<Private>True</Private>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion tests/FSharp.Literate.Tests/FSharp.Literate.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<HintPath>..\..\bin\FSharp.CodeFormat.dll</HintPath>
</Reference>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<Private>True</Private>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion tests/FSharp.Markdown.Tests/FSharp.Markdown.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
</ItemGroup>
<ItemGroup>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<Private>True</Private>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<Private>True</Private>
<Private>False</Private>
</Reference>
<Reference Include="mscorlib" />
<Reference Include="System" />
Expand Down

0 comments on commit 25b9dec

Please sign in to comment.