Skip to content
olegz edited this page Mar 16, 2026 · 12 revisions

About

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, 3.0.0"

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

Clone this wiki locally