Skip to content

Commit

Permalink
Static linking base is not worth the hassle after all.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Jul 21, 2024
1 parent 292dd83 commit 47f7ffa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion AltCover.Engine/AltCover.Engine.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DefineConstants>TRACE;$(GlobalDefineConstants)</DefineConstants>
<OtherFlags>--staticlink:AltCover.Base</OtherFlags>
</PropertyGroup>

<ItemGroup>
Expand Down
9 changes: 8 additions & 1 deletion Build/targets.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3839,6 +3839,9 @@ module Targets =
let altCover =
Path.getFullName "_Binaries/AltCover/Release+AnyCPU/net472/AltCover.exe"

let abase =
Path.getFullName "_Binaries/AltCover/Release+AnyCPU/net472/AltCover.Base.dll"

let engine =
Path.getFullName "_Binaries/AltCover/Release+AnyCPU/net472/AltCover.Engine.dll"

Expand Down Expand Up @@ -3899,6 +3902,7 @@ module Targets =

let applicationFiles =
[ (altCover, Some "tools/net472", None)
(abase, Some "tools/net472", None)
(engine, Some "tools/net472", None)
(config, Some "tools/net472", None)
(monitor, Some "lib/net20", None)
Expand All @@ -3913,6 +3917,7 @@ module Targets =

let apiFiles =
[ (altCover, Some "lib/net472", None)
(abase, Some "lib/net472", None)
(engine, Some "lib/net472", None)
(config, Some "lib/net472", None)
(monitor, Some "lib/net472", None)
Expand Down Expand Up @@ -4483,7 +4488,8 @@ module Targets =
((packageVersionPart "PowerShellStandard.Library")
+ "System.Management.Automation.dll")

[ "AltCover.Cake"
[ "AltCover.Base"
"AltCover.Cake"
"AltCover.DotNet"
"AltCover.Engine" // beware static linkage -- maybe copy from debug?
"AltCover.Monitor"
Expand Down Expand Up @@ -4570,6 +4576,7 @@ module Targets =
"AltCover.Monitor"
"AltCover.Fake"
"AltCover.Cake"
"AltCover.Base"
"Recorder"
"Mono"
"DataCollector"
Expand Down

0 comments on commit 47f7ffa

Please sign in to comment.