Skip to content

Commit aed6b77

Browse files
Merge pull request #1142 from SixLabors/js/update-remove-t4
Update submodule and remove build copy.
2 parents 60299fb + 91796ce commit aed6b77

File tree

4 files changed

+2
-1183
lines changed

4 files changed

+2
-1183
lines changed

src/Directory.Build.targets

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,13 @@
5555
<ItemGroup>
5656
<!--Shared config files that have to exist at root level.-->
5757
<ConfigFilesToCopy Include="..\..\shared-infrastructure\.editorconfig;..\..\shared-infrastructure\.gitattributes" />
58-
<!--
59-
Copy submodule files generated via T4 templates.
60-
We cannot include the generated files in the submodule as any solution wide T4 regeneration
61-
could potentially cause the module to be marked dirty which is a headache.
62-
This, instead, combined with using 'Compile Update' over 'Include' allows us to copy the file
63-
across from the submodule and place it directly in the src folder for compilation.
64-
-->
65-
<SubmoduleSourceFilesToCopy Include="..\..\shared-infrastructure\src\SharedInfrastructure\Guard.Numeric.cs" />
6658
</ItemGroup>
6759

6860
<!--Ensures our config files are up to date.-->
6961
<Target Name="CopyFiles" BeforeTargets="Build">
7062
<Copy SourceFiles="@(ConfigFilesToCopy)"
7163
SkipUnchangedFiles = "true"
7264
DestinationFolder="..\..\" />
73-
74-
<Copy SourceFiles="@(SubmoduleSourceFilesToCopy)"
75-
DestinationFolder="..\..\src\ImageSharp\Common\Helpers"
76-
SkipUnchangedFiles="true"
77-
ContinueOnError="true" />
7865
</Target>
7966

8067
<!-- Allows regenerating T4-generated files at build time using MsBuild -->

0 commit comments

Comments
 (0)