Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1a20e303ef
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.842 kb
#I @"packages\FAKE.1.64.6\tools"
#r "FakeLib.dll"
open Fake
let buildDir = @".\build\"
let testDir = @".\test"
let fxReferences = !! @"*\*.csproj"
let testReferences = !! @"Tests\**\*.csproj"
Target "Clean" (fun _ ->
CleanDirs [buildDir; testDir]
)
Target "Build" (fun _ ->
MSBuildRelease buildDir "Build" fxReferences
|> Log "Build-Output: "
)
Target "BuildTest" (fun _ ->
MSBuildRelease testDir "Build" testReferences
|> Log "Test-Output: "
)
Target "Test" (fun _ ->
!! (testDir + @"\*.Tests.dll")
|> xUnit (fun p ->
{ p with
ShadowCopy = true;
HtmlOutput = true;
XmlOutput = true;
OutputDir = testDir })
)
Target "Default" DoNothing
RunParameterTargetOrDefault "target" "Default"
Jump to Line
Something went wrong with that request. Please try again.