forked from FakeBuild/Xake
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
olegz edited this page Mar 16, 2026
·
12 revisions
Xake is a build automation tool for .NET, using F# as a scripting language. It brings the full power of F# to your build definitions:
#r "nuget: Xake, 2.9.6"
open Xake
open Xake.Tasks
do xakeScript {
rules [
"main" <== ["build"; "test"]
command "build" {
do! sh "dotnet build src/core -c Release" {}
}
command "test" {
do! sh "dotnet test src/tests" {}
}
"clean" => rm {dir "out"}
]
}Unlike many other tools, Xake takes a declarative approach. It internally tracks dependencies, which brings extra benefits:
- Incremental builds — only rebuild what changed
- Progress estimation — time remaining indicator
- Parallel execution — independent tasks run concurrently
Requirements: .NET SDK 9.0+
>> Next >> Introduction