Skip to content

Commit

Permalink
fix build by making xml doc file
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegZee committed Sep 25, 2015
1 parent a24e87d commit 723036f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ do xake {ExecOptions.Default with Vars = ["NETFX-TARGET", "4.5"]; FileLog = "bui

"bin/Xake.Core.dll" *> fun file -> action {

// TODO --doc:..\bin\Xake.Core.XML --- multitarget rule!
// TODO multitarget rule!
let xml = "bin/Xake.Core.XML" // file.FullName .- "XML"

let sources = fileset {
basedir "core"
Expand Down Expand Up @@ -97,7 +98,7 @@ do xake {ExecOptions.Default with Vars = ["NETFX-TARGET", "4.5"]; FileLog = "bui
Ref = !! "bin/FSharp.Core.dll"
RefGlobal = ["mscorlib.dll"; "System.dll"; "System.Core.dll"; "System.Windows.Forms.dll"]
Define = ["TRACE"]
CommandArgs = ["--optimize+"; "--warn:3"; "--warnaserror:76"; "--utf8output"]
CommandArgs = ["--optimize+"; "--warn:3"; "--warnaserror:76"; "--utf8output"; "--doc:" + xml]
}

}
Expand Down

0 comments on commit 723036f

Please sign in to comment.