FakeBuild / Xake.Dotnet

Recipes for Full .NET Frameworks, including C#, F# compilers, MSBuild, Resgen and do on

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Recipes for Full .NET Frameworks, including C#, F# compilers, MSBuild, Resgen and do on

License:MIT License


Languages

Language:F# 99.7%Language:Shell 0.2%Language:Batchfile 0.1%