Skip to content

Commit a96c4e5

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

File tree

13 files changed

+15
-399
lines changed

13 files changed

+15
-399
lines changed

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

Lines changed: 7 additions & 1 deletion
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

Lines changed: 0 additions & 95 deletions
This file was deleted.

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

Lines changed: 0 additions & 56 deletions
This file was deleted.

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

Lines changed: 0 additions & 31 deletions
This file was deleted.

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

Lines changed: 0 additions & 43 deletions
This file was deleted.

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

Lines changed: 0 additions & 68 deletions
This file was deleted.

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

Lines changed: 0 additions & 8 deletions
This file was deleted.

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 0 additions & 20 deletions
This file was deleted.

new-cli/GitVersion.Core/CoreModule.cs

Lines changed: 0 additions & 1 deletion
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

0 commit comments

Comments
 (0)