Skip to content

Commit a96c4e5

Browse files
committed
link original files instead of copying files
1 parent bd680ec commit a96c4e5

13 files changed

+15
-399
lines changed

new-cli/GitVersion.Common/GitVersion.Common.csproj

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@
33
<PackageReference Include="Polly" />
44
</ItemGroup>
55
<ItemGroup>
6-
<Compile Include="..\..\src\GitVersion.Core\Core\Exceptions\WarningException.cs" Link="Exceptions\WarningException.cs"/>
6+
<Compile Include="..\..\src\GitVersion.Core\Core\Abstractions\IEnvironment.cs" Link="Infrastructure\%(Filename)%(Extension)" />
7+
<Compile Include="..\..\src\GitVersion.Core\Core\Abstractions\IFileSystem.cs" Link="Infrastructure\%(Filename)%(Extension)" />
8+
<Compile Include="..\..\src\GitVersion.Core\Core\Exceptions\WarningException.cs" Link="Exceptions\%(Filename)%(Extension)"/>
79
<Compile Include="..\..\src\GitVersion.Core\Extensions\StringExtensions.cs" Link="Extensions\StringExtensions.cs" />
810
<Compile Include="..\..\src\GitVersion.Core\Extensions\CommonExtensions.cs" Link="Extensions\CommonExtensions.cs" />
11+
<Compile Include="..\..\src\GitVersion.Core\Helpers\*.cs" Link="Helpers\%(Filename)%(Extension)" />
912
<Compile Include="..\..\src\GitVersion.Core\Git\*.cs" Link="Git\%(Filename)%(Extension)" />
1013
<Compile Include="..\..\src\GitVersion.Core\SemVer\*.cs" Link="SemVer\%(Filename)%(Extension)"/>
1114
</ItemGroup>
15+
<ItemGroup>
16+
<InternalsVisibleTo Include="GitVersion.Core" />
17+
</ItemGroup>
1218
</Project>

new-cli/GitVersion.Common/Helpers/EncodingHelper.cs

-95
This file was deleted.

new-cli/GitVersion.Common/Helpers/LambdaEqualityHelper.cs

-56
This file was deleted.

new-cli/GitVersion.Common/Helpers/LambdaKeyComparer.cs

-31
This file was deleted.

new-cli/GitVersion.Common/Helpers/PathHelper.cs

-43
This file was deleted.

new-cli/GitVersion.Common/Helpers/RetryAction.cs

-68
This file was deleted.

new-cli/GitVersion.Common/Helpers/StringComparerUtils.cs

-8
This file was deleted.

new-cli/GitVersion.Common/Infrastructure/IEnvironment.cs

-7
This file was deleted.

new-cli/GitVersion.Common/Infrastructure/IFileSystem.cs

-20
This file was deleted.

new-cli/GitVersion.Core/CoreModule.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using GitVersion.Infrastructure;
2-
using Environment = GitVersion.Infrastructure.Environment;
32

43
namespace GitVersion;
54

new-cli/GitVersion.Core/GitVersion.Core.csproj

+8
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,12 @@
99
<PackageReference Include="Serilog.Sinks.File" />
1010
<PackageReference Include="Serilog.Sinks.Map" />
1111
</ItemGroup>
12+
<ItemGroup>
13+
<Compile Include="..\..\src\GitVersion.Core\Core\Environment.cs">
14+
<Link>Infrastructure\Environment.cs</Link>
15+
</Compile>
16+
<Compile Include="..\..\src\GitVersion.Core\Core\FileSystem.cs">
17+
<Link>Infrastructure\FileSystem.cs</Link>
18+
</Compile>
19+
</ItemGroup>
1220
</Project>

new-cli/GitVersion.Core/Infrastructure/Environment.cs

-8
This file was deleted.

0 commit comments

Comments
 (0)