@@ -39,21 +39,6 @@ module Targets =
39
39
let mutable Copyright = String.Empty
40
40
let mutable Version = String.Empty
41
41
42
- let localCecil =
43
- let xml =
44
- " ./Directory.Build.props"
45
- |> Path.getFullName
46
- |> XDocument.Load
47
-
48
- xml.Descendants()
49
- |> Seq.filter ( fun ( e : XElement ) ->
50
- e.Name.LocalName.Equals( " LocalCecil" , StringComparison.OrdinalIgnoreCase))
51
- |> Seq.map ( fun x -> x.Value |> Boolean.TryParse |> snd)
52
- |> Seq.tryLast
53
- |> Option.defaultValue false
54
-
55
- printfn " Local Cecil = %A " localCecil
56
-
57
42
let currentBranch =
58
43
" ."
59
44
|> Path.getFullName
@@ -600,13 +585,7 @@ module Targets =
600
585
let dotnetBuildDebug proj =
601
586
DotNet.build
602
587
( fun p ->
603
- { p.WithCommon(
604
- dotnetOptions
605
- >> dotnetOptionsWithSkipGtkInstall
606
- >> ( fun o ->
607
- { o with
608
- Verbosity = Some DotNet.Verbosity.Minimal })
609
- ) with
588
+ { p.WithCommon( dotnetOptions >> dotnetOptionsWithSkipGtkInstall) with
610
589
Configuration = DotNet.BuildConfiguration.Debug }
611
590
|> buildWithCLIArguments)
612
591
( Path.GetFullPath proj)
@@ -1453,13 +1432,13 @@ module Targets =
1453
1432
@@ " gtksharp/"
1454
1433
+ ( ddItem " gtksharp" )
1455
1434
+ " /lib/netstandard2.0"
1456
- if localCecil then
1457
- Path.GetFullPath " ./ThirdParty/cecil"
1458
- else
1459
- nugetCache
1460
- @@ " mono.cecil/"
1461
- + ( ddItem " mono.cecil" )
1462
- + " /lib/netstandard2.0"
1435
+ // if localCecil then
1436
+ // Path.GetFullPath "./ThirdParty/cecil"
1437
+ // else
1438
+ nugetCache
1439
+ @@ " mono.cecil/"
1440
+ + ( ddItem " mono.cecil" )
1441
+ + " /lib/netstandard2.0"
1463
1442
nugetCache
1464
1443
@@ " mono.options/"
1465
1444
+ ( ddItem " mono.options" )
@@ -1508,20 +1487,10 @@ module Targets =
1508
1487
|> Path.getFullName
1509
1488
|> XDocument.Load
1510
1489
1511
- let skip =
1512
- if localCecil then
1513
- " mono.cecil"
1514
- else
1515
- " $$$$$$$"
1516
-
1517
1490
let packages =
1518
1491
xml.Descendants( XName.Get( " PackageReference" ))
1519
1492
|> Seq.filter (_. Attribute( XName.Get( " Include" )) >> isNull >> not )
1520
1493
|> Seq.map _. Attribute( XName.Get( " Include" )) .Value
1521
- |> Seq.filter (
1522
- _. Equals( skip, StringComparison.OrdinalIgnoreCase)
1523
- >> not
1524
- ) //CECIL
1525
1494
|> Seq.toList
1526
1495
1527
1496
let dirs =
@@ -4564,12 +4533,10 @@ module Targets =
4564
4533
" AltCover.Cake"
4565
4534
" AltCover.Base"
4566
4535
" Recorder"
4567
- " Mono"
4568
4536
" DataCollector"
4569
4537
" FSharp" ]
4570
4538
InPlace = false
4571
4539
ReportFormat = " OpenCover"
4572
- LocalSource = true
4573
4540
Save = true
4574
4541
VisibleBranches = true }
4575
4542
)
0 commit comments