Repository navigation
Remove the Build group and update Fake to 6.2.0 - #4467
Merged
Merged
Conversation
The few FAKE 4 helpers they used, from the FakeLib.dll of the Build group, are replaced by BCL ones in TestHelper.fs, or by those of Paket.Core.
Its FAKE 4 only gave the integration tests their FakeLib.dll, which they no longer use.
The modules of build.fsx, and the Fake.Core.ReleaseNotes that paket pack reads its release notes file with.
Fake.Core.ReleaseNotes 6 takes the first word of the header that is a whole SemVer version, which can be the date of a Keep a Changelog header.
A fsi sandbox of 2017 for the load scripts generation that nothing builds or runs: it referenced the FakeLib.dll of the removed Build group, assemblies of bin/ that no longer exist there, and an older DependencyCache. The scriptgen integration tests cover these scenarios.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Buildgroup ofpaket.dependenciesonly kept FAKE 4 for theFakeLib.dllof the integration tests, whilebuild.fsxalready runs on the Fake 6 modules of theBuildScriptgroup.Integration tests without FakeLib
The few FAKE 4 helpers the tests used are replaced in
TestHelper.fs:@@,</>,FullName,checkFileExists,copyDirandexecProcess, which keeps the timeout, kill and stream handling ofExecProcessWithLambdas, and its "timed out" message.CleanDir,isWindowsandtraceWarnfnalready resolved to Paket.Core before, sinceopen Paketcame afteropen Fake.open Fake, the FakeLibHintPathof the project and the#rof the#if INTERACTIVEblocks are gone.The broken
src/Paket.Core/Prototypes/script-generation.fsx, a fsi sandbox of 2017 that nothing builds, also referenced FakeLib: it is removed. The scriptgen integration tests cover its scenarios.Dependencies
paket.dependenciesandpaket.lock.BuildScriptgroup moves from 6.1.4, which also updates its transitive packages (Microsoft.Build.* 18.11, MSBuild.StructuredLogger 2.3.269). In the main group,Fake.Core.ReleaseNotesmoves from 5.20 to 6.2; FSharp.Core stays on 9.0.303.The lock was updated with the paket of the repository:
paket installwith the 10.3.1 and 12.0.0-alpha003 tools rewrites unrelated restrictions of the main group, and turns the<Link>ofPaket.Core.fsprojintoCommon//....paket pack --release-notes-fileFake.Core.ReleaseNotes 6 takes as the version the first word of the header that is a whole SemVer version (fsprojects/FAKE#2686). Paket headers such as
#### 1.2.3 - dategive the same version, but## [1.2.3] - 2020-01-01now gives2020-01-01.RELEASE_NOTES.mdnotes it as breaking, with--versionas the way out.