dotnet add package Fake.Core.Target --version 6.0.0
NuGet\Install-Package Fake.Core.Target -Version 6.0.0
<PackageReference Include="Fake.Core.Target" Version="6.0.0" />
paket add Fake.Core.Target --version 6.0.0
#r "nuget: Fake.Core.Target, 6.0.0"
// Install Fake.Core.Target as a Cake Addin #addin nuget:?package=Fake.Core.Target&version=6.0.0 // Install Fake.Core.Target as a Cake Tool #tool nuget:?package=Fake.Core.Target&version=6.0.0
"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
Trace modules and define three targets:
Deploy. By analogy with a .Net project;
Cleantarget can be used to clean the project before a build,
Buildtarget to call MSBuild or any build steps that are required for you application,
Deploytarget 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
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
netstandard2.0. Please see this link which lists the supported .Net and .NET Framework versions by
- Either: Download and install the Dotnet SDK and run
dotnet tool restorefollowed by
dotnet fake build
- Or: Install FAKE 5 or later (for example via
choco install fake -pre) and run
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)
See detailed instructions on how to use FAKE in the getting started guide.
See the contributing page.
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||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. 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-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Fake.Core.Target:
Contains generic files for Basisregisters Vlaanderen pipelines.
Typed `Target` for FAKE 5
Thin F# API for AzureTackle for easy data access to AzureTackle database with functional seasoning on top.
Fake tasks for lib and app delevelopment
Contains common build scripts to build .net open source libraries
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Fake.Core.Target:
The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
A friendly substitute for .NET mocking libraries.
ENHANCEMENT: Site UI fixes and documentation link fixes.