fake-cli 6.1.4

dotnet tool install --global fake-cli --version 6.1.4
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local fake-cli --version 6.1.4
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=fake-cli&version=6.1.4
                    
nuke :add-package fake-cli --version 6.1.4
                    

FAKE - F# Make · FAKE Build and Test NuGet Badge PRs Welcome Join the chat at https://gitter.im/fsharp/FAKE

"FAKE - F# Make" is a cross platform build automation system. Due to its integration in F#, all the benefits of the .NET Framework and functional programming can be used, including the extensive class library, powerful debuggers and integrated development environments like Visual Studio or MonoDevelop, which provide syntax highlighting and code completion.

The new DSL was designed to be succinct, typed, declarative, extensible and easy to use.

Here is an example to get a glimpse on FAKE:

// build.fsx

#r "paket:
nuget Fake.Core.Trace
nuget Fake.Core.Target //"
// include Fake modules, see Fake modules section

open Fake.Core

// *** Define Targets ***
Target.create "Clean" (fun _ ->
  Trace.log " --- Cleaning stuff --- "
)

Target.create "Build" (fun _ ->
  Trace.log " --- Building the app --- "
)

Target.create "Deploy" (fun _ ->
  Trace.log " --- Deploying app --- "
)

open Fake.Core.TargetOperators

// *** Define Dependencies ***
"Clean"
  ==> "Build"
  ==> "Deploy"

// *** Start Build ***
Target.runOrDefault "Deploy"

This example pulls Fake's Target and Trace modules and define three targets: Clean, Build, and Deploy. By analogy with a .Net project;

  • the Clean target can be used to clean the project before a build,
  • the Build target to call MSBuild or any build steps that are required for you application,
  • the Deploy target can push your built project to a cloud service.

At the bottom, the example define target dependencies, which specify that a Deploy must run after a Build which must run after a Clean.

See the project home page for tutorials and the API documentation for various FAKE modules.

Requirements

Fake runner requires .Net v6 SDK to be installed on the machine to run it. .Net v6 was chosen since it is the current LTS release of .Net

FAKE 5 doesn't have this requirement. You can use FAKE 5 runner without having .NET 6 SDK installed since it will default to NETSTANDARD2.0 assemblies. But we advice to see the options available to run your build script in Different Ways to run FAKE

Fake modules has target frameworks of net6 and netstandard2.0. Please see this link which lists the supported .Net and .NET Framework versions by netstandard2.0

Installation

  • Either: Download and install the Dotnet SDK and run dotnet tool restore followed by dotnet fake build
  • Or: Install FAKE 5 or later (for example via choco install fake -pre) and run fake build

Note: You can find more details on the contributing page

Make sure to have long path enabled: see how to enable long paths Otherwise the test-suite will fail (However, the compilation should work)

Usage

See detailed instructions on how to use FAKE in the getting started guide.

NuGet Packages

Package Name Nuget
Fake-Cli NuGet Badge
Fake.Core.Target NuGet Badge
Fake.Core.Context NuGet Badge
Legacy FAKE NuGet Badge

Contributing

See the contributing page.

Maintainers

Although this project is hosted in the fsprojects organization, it is not maintained and managed by the F# Core Engineering Group. The F# Core Engineering Group acknowledges that the independent owner and maintainer of this project is Steffen Forkmann.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
6.1.4 4,929 10/26/2025
6.1.3 135,133 9/26/2024
6.1.2 1,110 9/24/2024
6.1.1 3,479 9/1/2024
6.1.0 4,641 8/5/2024
6.0.0 216,652 2/21/2023
6.0.0-beta001 6,298 12/21/2022
6.0.0-alpha004 1,347 11/17/2022
6.0.0-alpha003 511 11/11/2022
6.0.0-alpha002 955 11/1/2022
6.0.0-alpha001 1,152 11/1/2022
5.23.1 91,747 10/21/2022
5.23.0 68,844 8/1/2022
5.23.0-alpha002 1,313 7/22/2022
5.23.0-alpha001 437 7/15/2022
5.22.0 289,419 2/14/2022
5.21.1 6,250 1/30/2022
5.21.0 8,590 1/24/2022
5.21.0-alpha004 2,022 1/6/2022
5.21.0-alpha003 6,360 11/11/2021
5.21.0-alpha002 394 11/11/2021
5.21.0-alpha001 441 11/10/2021
5.20.4 465,303 3/31/2021
5.20.4-alpha.1658 235 3/30/2021
5.20.4-alpha.1642 56,628 10/23/2020
5.20.3 253,131 8/5/2020
5.20.2 33,705 6/27/2020
5.20.1 16,778 6/13/2020
5.20.1-alpha.1590 309 5/7/2020
5.20.0 56,525 5/5/2020
5.20.0-alpha.1584 277 5/5/2020
5.20.0-alpha.1583 276 5/5/2020
5.20.0-alpha.1580 328 5/4/2020
5.20.0-alpha.1566 312 4/13/2020
5.20.0-alpha.1545 1,196 3/7/2020
5.20.0-alpha.1535 294 3/6/2020
5.19.2-alpha.1526 325 3/5/2020
5.19.1 109,624 2/9/2020
5.19.0 61,626 12/19/2019
5.19.0-alpha.1473 312 12/18/2019
5.19.0-alpha.1439 297 12/16/2019
5.18.3 64,754 11/4/2019
5.18.2 6,648 10/26/2019
5.18.1 3,728 10/22/2019
5.18.0 3,912 10/20/2019
5.17.0 5,667 10/12/2019
5.16.2-alpha.1304 2,058 10/8/2019
5.16.1 92,918 8/25/2019
5.16.0 13,449 8/17/2019
5.16.0-alpha.1228 322 8/17/2019
5.15.4 14,615 7/16/2019
5.15.3 5,687 7/3/2019
5.15.2 1,814 7/3/2019
5.15.1 1,935 7/1/2019
5.15.1-alpha.1104 315 6/21/2019
5.15.0 38,891 6/17/2019
5.14.1 2,064 6/13/2019
5.14.0 1,361 6/12/2019
5.14.0-alpha.1085 337 6/10/2019
5.13.7 11,923 5/12/2019
5.13.5 5,338 5/1/2019
5.13.3 1,273 4/30/2019
5.13.2 2,888 4/23/2019
5.13.1 1,192 4/22/2019
5.13.0 4,333 4/14/2019
5.13.0-alpha.987 324 4/14/2019
5.13.0-alpha.975 314 4/14/2019
5.12.6 9,853 3/17/2019
5.12.4 7,429 2/27/2019
5.12.1 5,173 2/15/2019
5.12.0 18,978 1/12/2019
5.11.1 9,096 12/6/2018
5.11.0 2,979 12/4/2018
5.10.1 6,524 11/11/2018
5.9.3 8,975 10/15/2018
5.9.2 1,244 10/14/2018
5.9.1 1,133 10/13/2018
5.9.0 1,179 10/13/2018
5.8.5 1,724 10/10/2018
5.8.4 1,498 10/8/2018
5.7.2 3,174 9/24/2018
5.7.0 1,283 9/23/2018
5.6.2-alpha.494 511 9/23/2018
5.6.2-alpha.491 537 9/22/2018
5.6.1 3,228 9/9/2018
5.5.1-alpha.403 563 8/26/2018
5.5.0 6,048 8/26/2018
5.4.1 1,947 8/16/2018
5.4.0 1,568 8/11/2018
5.3.1 2,476 8/5/2018
5.3.0 1,718 7/30/2018
5.2.0 6,712 7/9/2018
5.1.0 9,009 6/17/2018
5.0.0 6,327 6/6/2018
5.0.0-rc018.248 648 6/5/2018
5.0.0-rc018.244 749 6/2/2018

BUGFIX: Fixes for the .NET CDN changes described at https://github.com/dotnet/core/issues/9671, thanks @richlander, @Numpsy
BUGFIX: Update NuGet package dependencies to pick up security fixes, refs https://github.com/fsprojects/FAKE/issues/2871. thanks @Numpsy - https://github.com/fsprojects/FAKE/pull/2872
BUGFIX: Fix documentation articles links, thanks @jhromadik - https://github.com/fsprojects/FAKE/pull/2842
ENHANCEMENT: Parse references at end of changelog as separate component, thanks @florenzen - https://github.com/fsprojects/FAKE/pull/2779
ENHANCEMENT: In Fake.Dotnet.Cli, parse global.json using System.Text.Json instead of Newtonsoft.Json, thanks @Numpsy - https://github.com/fsprojects/FAKE/pull/2839
ENHANCEMENT: Discover VSTest and MSTest using VSWhere, thanks @farlee2121 - https://github.com/fsprojects/FAKE/pull/2843