Home

Awesome

Xake is a make utility made for .NET on F# language. Xake is inspired by shake build tool.

Unlike NAnt, Fake and similar tools with imperative script style, Xake is declarative:

See documentation for more details.

Build Status

The script

The simple script looks like:

#r @"Xake.dll"

open Xake

do xakeScript {
  rules [
    "main" ==> ["helloworld.exe"; "hello.dll"]

    "hello.dll" ..> csc {src (fileset {includes "hello.cs"})}

    "*.exe" ..> recipe {
        let! exe = getTargetFullName()
        do! csc {src !!(exe -. "cs")}
    }
  ]    
}

This script compiles helloworld assembly from helloworld.cs file.

References