Skip to content

Commit

Permalink
Make chm (offline docs) optional.
Browse files Browse the repository at this point in the history
AppVeyor has some problem with doxygen.
  • Loading branch information
mausch committed Sep 22, 2014
1 parent 567b1a2 commit 81266ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,16 @@ Target "Docs" <| fun _ ->
rm_rf docsDir
let r = Shell.Exec(@"tools\doxygen\doxygen.exe")
if r <> 0 then failwith "Doxygen failed"
rm docsFile
Rename docsFile (docsDir @@ "html\\index.chm")
if File.Exists docsFile then
rm docsFile
Rename docsFile (docsDir @@ "html\\index.chm")
rm_rf docsDir

Target "NuGet" <| fun _ ->
rm_rf nugetDir
mkdir nugetDocs
mkdir nugetLib
if (File.Exists docsFile) then
if File.Exists docsFile then
cp docsFile nugetDocs
!!(buildDir @@ "SolrNet.*") |> Copy nugetLib
nuGetBuild "SolrNet" "Apache Solr client" ["CommonServiceLocator", "[1.0]"]
Expand Down

0 comments on commit 81266ae

Please sign in to comment.