@@ -239,16 +239,13 @@ _Target "PrepareDotNetBuild" (fun _ ->
239239 System.IO.Compression.ZipFile.ExtractToDirectory( f, unpack))
240240
241241 [ ( " ./_Publish/expecto/altcode.test.expecto.nuspec" ,
242- " AltCode.Test.Expecto (Expecto helper)" ,
243- false )
242+ " AltCode.Test.Expecto (Expecto helper)" )
244243 ( " ./_Publish/nunit/altcode.test.nunit.nuspec" ,
245- " AltCode.Test.NUnit (NUnit helper)" ,
246- true )
244+ " AltCode.Test.NUnit (NUnit helper)" )
247245 ( " ./_Publish/xunit/altcode.test.xunit.nuspec" ,
248- " AltCode.Test.Xunit (Xunit helper)" ,
249- true )
246+ " AltCode.Test.Xunit (Xunit helper)" )
250247 ]
251- |> List.iter ( fun ( path , caption , staticlink ) ->
248+ |> List.iter ( fun ( path , caption ) ->
252249 let x s = XName.Get( s, " http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd" )
253250 let dotnetNupkg = XDocument.Load path
254251 let desc = dotnetNupkg.Descendants( x " description" ) |> Seq.head
@@ -273,10 +270,7 @@ _Target "PrepareDotNetBuild" (fun _ ->
273270
274271 dotnetNupkg.Descendants( x " dependency" )
275272 |> Seq.filter ( fun node -> let id = node.Attribute( XName.Get " id" ) .Value
276- id = " altcode.test.common" ||
277- ( staticlink &&
278- id = " FSharp.Core" &&
279- node.Parent.Attribute( XName.Get " targetFramework" ) .Value.StartsWith( " .NETFramework" , StringComparison.Ordinal)))
273+ id = " altcode.test.common" )
280274 |> Seq.toList
281275 |> List.iter ( fun n -> n.Remove())
282276
0 commit comments