Skip to content

Commit

Permalink
Update FAKE
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorium committed Sep 26, 2024
1 parent 873d145 commit 745b1f2
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 209 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"isRoot": true,
"tools": {
"fake-cli": {
"version": "6.0.0",
"version": "6.1.3",
"commands": [
"fake"
]
},
"paket": {
"version": "7.2.1",
"version": "8.0.3",
"commands": [
"paket"
]
Expand Down
26 changes: 26 additions & 0 deletions build.fsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,34 @@
// --------------------------------------------------------------------------------------
// FAKE build script
// --------------------------------------------------------------------------------------
#if FAKE
#r "paket: groupref build //"
#load ".fake/build.fsx/intellisense.fsx"
#else
#r "nuget: MSBuild.StructuredLogger"
#r "nuget: Fake.Core"
#r "nuget: Fake.Core.Target"
#r "nuget: Fake.Core.Process"
#r "nuget: Fake.DotNet.Cli"
#r "nuget: Fake.Core.ReleaseNotes"
#r "nuget: Fake.DotNet.AssemblyInfoFile"
#r "nuget: Fake.DotNet.Paket"
#r "nuget: Fake.Tools.Git"
#r "nuget: Fake.Core.Environment"
#r "nuget: Fake.Core.UserInput"
#r "nuget: Fake.IO.FileSystem"
#r "nuget: Fake.DotNet.MsBuild"
#r "nuget: Fake.Api.GitHub"
// Boilerplate
System.Environment.GetCommandLineArgs()
|> Array.skip 2 // skip fsi.exe; build.fsx
|> Array.toList
|> Fake.Core.Context.FakeExecutionContext.Create false __SOURCE_FILE__
|> Fake.Core.Context.RuntimeContext.Fake
|> Fake.Core.Context.setExecutionContext

#endif


open Fake.Core
open Fake.DotNet
Expand Down
10 changes: 5 additions & 5 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ nuget Microsoft.Build.Locator
# don't expose as a package reference
nuget Microsoft.SourceLink.GitHub copy_local: true
# don't copy runtime assets
nuget Microsoft.Build.Framework == 17.2.0 copy_local: false
nuget Microsoft.Build.Framework copy_local: false
nuget Microsoft.Build.Tasks.Core copy_local: false
nuget Microsoft.Build.Utilities.Core == 17.2.0 copy_local: false
nuget Microsoft.Build == 17.2.0 copy_local: false
nuget Microsoft.Build.Utilities.Core copy_local: false
nuget Microsoft.Build copy_local: false

group Docs
source https://api.nuget.org/v3/index.json
Expand All @@ -47,8 +47,8 @@ group Build
strategy: min

nuget System.Reactive ~> 5
nuget MSBuild.StructuredLogger == 2.1.815
nuget FSharp.Core ~> 5.0
nuget MSBuild.StructuredLogger
nuget FSharp.Core
nuget Fake.Core.Target
nuget Fake.Core.Process
nuget Fake.DotNet.Cli
Expand Down
Loading

0 comments on commit 745b1f2

Please sign in to comment.