Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 847 Bytes

readme.md

File metadata and controls

31 lines (21 loc) · 847 Bytes

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

See Xake documentation for more details.

Prerequisites

The build sctipt expects dotnet 2.1.300+ to build the package. That version properly writes package metadata. You will need net46 Dev Pack to build for .net 4.6 target.

Csc task

The simple script looks like:

#r "paket:
  nuget Xake ~> 1.1 prerelease
  nuget Xake.Dotnet ~> 1.1 prerelease //"

open Xake
open Xake.Dotnet

do xakeScript {
  rules [
    "main" <== ["helloworld.exe"]

    "helloworld.exe" ..> csc {src !!"helloworld.cs"}
  ]
}

This script compiles helloworld assembly from helloworld.cs file.