Skip to content

Commit 24278e8

Browse files
committed
unix paths in build script, skip gitlink on mono builds
1 parent bf9c11d commit 24278e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build.fsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ Target "BuildApp" (fun _ ->
4242
]
4343

4444
MSBuild null "Rebuild" msbuildProperties (seq { yield "src/Elasticsearch.sln" })
45-
gitLink()
45+
if not isMono then gitLink()
4646

4747
//moves all the release builds to build/output/PROJECTNAME
4848
!! "src/**/*.csproj"
4949
|> Seq.map(fun f -> (f, buildDir + directoryInfo(f).Name.Replace(".csproj", "")))
5050
|> Seq.iter(fun (f,d) ->
5151
CreateDir d
52-
CopyDir d (directoryInfo(f).Parent.FullName + @"\bin\Release") allFiles
52+
CopyDir d (directoryInfo(f).Parent.FullName + @"/bin/Release") allFiles
5353
)
5454

5555
//Scan for xml docs and patch them to replace <inheritdoc /> with the documentation

0 commit comments

Comments
 (0)