Skip to content

Commit

Permalink
Enable docs generation (Fixes #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
auduchinok committed Jul 4, 2016
1 parent 251b2e2 commit 711b918
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,8 @@ Target "PublishNuget" (fun _ ->
// Generate the documentation

Target "GenerateReferenceDocs" (fun _ ->
()
//if not <| executeFSIWithArgs "docs/tools" "generate.fsx" ["--define:RELEASE"; "--define:REFERENCE"] [] then
// failwith "generating reference documentation failed"
if not <| executeFSIWithArgs "docs/tools" "generate.fsx" ["--define:RELEASE"; "--define:REFERENCE"] [] then
failwith "generating reference documentation failed"
)

let generateHelp' fail debug =
Expand Down Expand Up @@ -352,8 +351,8 @@ Target "All" DoNothing
==> "RunMSTests"
==> "RunNUnitTests"
==> "RunDotParserTests"
//==> "GenerateReferenceDocs"
//==> "GenerateDocs"
==> "GenerateReferenceDocs"
==> "GenerateDocs"
==> "All"
=?> ("ReleaseDocs",isLocalBuild)

Expand Down

0 comments on commit 711b918

Please sign in to comment.