3 #I "packages/FAKE/tools/"
4 #r @"packages/FSharp.Compiler.Service/lib/net45/FSharp.Compiler.Service.dll"
5 #r @"packages/FAKE/tools/FakeLib.dll"
7 open System.Diagnostics
9 open Fake.EnvironmentHelper
11 let buildDirDebug = "./build/Debug/"
12 let buildDirRelease = "./build/Release/"
14 Target "Clean" (fun _ ->
16 CleanDir buildDirDebug
17 CleanDir buildDirRelease
20 Target "Debug" (fun _ ->
21 trace "Building in Debug mode..."
22 !! "**/*.fsproj" |> MSBuildDebug buildDirDebug "Build" |> Log "Debug-Output:"
25 Target "Release" (fun _ ->
26 trace "Building in Release mode..."
27 !! "**/*.fsproj" |> MSBuildRelease buildDirRelease "Build" |> Log "Release-Output:"
30 Target "Deploy" (fun _ ->
31 trace "Deployement..."
35 "Release" ==> "Deploy"
37 RunTargetOrDefault "Debug"