File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 17
17
<tags >foundationdb nosql</tags >
18
18
</metadata >
19
19
<files >
20
- <file src =" FoundationDB.Client.dll" target =" lib\net45" />
21
- <file src =" FoundationDB.Client.XML" target =" lib\net45" />
22
- <file src =" FoundationDB.Client.pdb" target =" lib\net45" />
20
+ <file src =" FoundationDB.Client.*" target =" lib\net45" />
23
21
</files >
24
22
</package >
Original file line number Diff line number Diff line change 20
20
</dependencies >
21
21
</metadata >
22
22
<files >
23
- <file src =" FoundationDB.Layers.Common.dll" target =" lib\net-45" />
24
- <file src =" FoundationDB.Layers.Common.XML" target =" lib\net-45" />
25
- <file src =" FoundationDB.Layers.Common.pdb" target =" lib\net-45" />
23
+ <file src =" FoundationDB.Layers.Common.*" target =" lib\net-45" />
26
24
</files >
27
25
</package >
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ Target "Test" (fun _ ->
63
63
CreateDir testDir
64
64
ActivateFinalTarget " CloseTestRunner"
65
65
!! ( buildDir @@ " **" @@ " *Test*.dll" )
66
- //++(buildDir + "**/*Test*.exe")
67
66
|> NUnit(
68
67
fun p -> { p with DisableShadowCopy = true
69
68
OutputFile = " TestResults.xml"
@@ -89,14 +88,19 @@ let replaceVersionInNuspec nuspecFileName version =
89
88
90
89
Target " BuildNuget" ( fun _ ->
91
90
trace " Building Nuget Packages"
92
- let projects = [ " FoundationDb .Client" ; " FoundationDb .Layers.Common" ]
91
+ let projects = [ " FoundationDB .Client" ; " FoundationDB .Layers.Common" ]
93
92
CreateDir nugetOutDir
94
93
projects
95
94
|> List.iter (
96
95
fun name ->
97
96
let nuspec = projectRoot() @@ " build" @@ ( sprintf " %s .nuspec" name)
98
97
replaceVersionInNuspec nuspec version
99
98
let binariesDir = buildDir @@ name
99
+
100
+ // Copy XML doc to binaries dir, works by default on windows but not on Mono.
101
+ let xmlDocFile = projectRoot() @@ name @@ " bin" @@ " Release" @@ ( sprintf " %s .XML" ) name
102
+ FileUtils.cp xmlDocFile binariesDir
103
+
100
104
NuGetPack (
101
105
fun p ->
102
106
{ p with WorkingDir = binariesDir
You can’t perform that action at this time.
0 commit comments