mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 07:35:51 +01:00
Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have normalized (LF) line endings in the repository. When core.eol is set to native (which is the default), Git will convert the line endings of normalized files in your working directory back to your platform's native line ending. See also https://git-scm.com/docs/gitattributes
This commit is contained in:
142
win/ny.targets
142
win/ny.targets
@@ -1,72 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PropertyPageSchema
|
||||
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
|
||||
<AvailableItemName
|
||||
Include="copy">
|
||||
<Targets>_copy</Targets>
|
||||
</AvailableItemName>
|
||||
</ItemGroup>
|
||||
<UsingTask
|
||||
TaskName="copy"
|
||||
TaskFactory="XamlTaskFactory"
|
||||
AssemblyName="Microsoft.Build.Tasks.v4.0">
|
||||
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
|
||||
</UsingTask>
|
||||
<Target
|
||||
Name="_copy"
|
||||
BeforeTargets="$(copyBeforeTargets)"
|
||||
AfterTargets="$(copyAfterTargets)"
|
||||
Condition="'@(copy)' != ''"
|
||||
DependsOnTargets="$(copyDependsOn);ComputecopyOutput"
|
||||
Outputs="@(copy->'%(Outputs)')"
|
||||
Inputs="@(copy)">
|
||||
<ItemGroup
|
||||
Condition="'@(SelectedFiles)' != ''">
|
||||
<copy
|
||||
Remove="@(copy)"
|
||||
Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<copy_tlog
|
||||
Include="%(copy.Outputs)"
|
||||
Condition="'%(copy.Outputs)' != '' and '%(copy.ExcludedFromBuild)' != 'true'">
|
||||
<Source>@(copy, '|')</Source>
|
||||
</copy_tlog>
|
||||
</ItemGroup>
|
||||
<Message
|
||||
Importance="High"
|
||||
Text="%(copy.ExecutionDescription)" />
|
||||
<WriteLinesToFile
|
||||
Condition="'@(copy_tlog)' != '' and '%(copy_tlog.ExcludedFromBuild)' != 'true'"
|
||||
File="$(TLogLocation)$(ProjectName).write.1.tlog"
|
||||
Lines="^%(copy_tlog.Source);@(copy_tlog->'%(Fullpath)')" />
|
||||
<copy
|
||||
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
||||
CommandLineTemplate="%(copy.CommandLineTemplate)"
|
||||
AdditionalOptions="%(copy.AdditionalOptions)"
|
||||
Inputs="@(copy)" />
|
||||
</Target>
|
||||
<PropertyGroup>
|
||||
<ComputeLinkInputsTargets>
|
||||
$(ComputeLinkInputsTargets);
|
||||
ComputecopyOutput;
|
||||
</ComputeLinkInputsTargets>
|
||||
<ComputeLibInputsTargets>
|
||||
$(ComputeLibInputsTargets);
|
||||
ComputecopyOutput;
|
||||
</ComputeLibInputsTargets>
|
||||
</PropertyGroup>
|
||||
<Target
|
||||
Name="ComputecopyOutput"
|
||||
Condition="'@(copy)' != ''">
|
||||
<ItemGroup>
|
||||
<copyDirsToMake
|
||||
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
||||
Include="%(copy.Outputs)" />
|
||||
</ItemGroup>
|
||||
<MakeDir
|
||||
Directories="@(copyDirsToMake->'%(RootDir)%(Directory)')" />
|
||||
</Target>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PropertyPageSchema
|
||||
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
|
||||
<AvailableItemName
|
||||
Include="copy">
|
||||
<Targets>_copy</Targets>
|
||||
</AvailableItemName>
|
||||
</ItemGroup>
|
||||
<UsingTask
|
||||
TaskName="copy"
|
||||
TaskFactory="XamlTaskFactory"
|
||||
AssemblyName="Microsoft.Build.Tasks.v4.0">
|
||||
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
|
||||
</UsingTask>
|
||||
<Target
|
||||
Name="_copy"
|
||||
BeforeTargets="$(copyBeforeTargets)"
|
||||
AfterTargets="$(copyAfterTargets)"
|
||||
Condition="'@(copy)' != ''"
|
||||
DependsOnTargets="$(copyDependsOn);ComputecopyOutput"
|
||||
Outputs="@(copy->'%(Outputs)')"
|
||||
Inputs="@(copy)">
|
||||
<ItemGroup
|
||||
Condition="'@(SelectedFiles)' != ''">
|
||||
<copy
|
||||
Remove="@(copy)"
|
||||
Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<copy_tlog
|
||||
Include="%(copy.Outputs)"
|
||||
Condition="'%(copy.Outputs)' != '' and '%(copy.ExcludedFromBuild)' != 'true'">
|
||||
<Source>@(copy, '|')</Source>
|
||||
</copy_tlog>
|
||||
</ItemGroup>
|
||||
<Message
|
||||
Importance="High"
|
||||
Text="%(copy.ExecutionDescription)" />
|
||||
<WriteLinesToFile
|
||||
Condition="'@(copy_tlog)' != '' and '%(copy_tlog.ExcludedFromBuild)' != 'true'"
|
||||
File="$(TLogLocation)$(ProjectName).write.1.tlog"
|
||||
Lines="^%(copy_tlog.Source);@(copy_tlog->'%(Fullpath)')" />
|
||||
<copy
|
||||
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
||||
CommandLineTemplate="%(copy.CommandLineTemplate)"
|
||||
AdditionalOptions="%(copy.AdditionalOptions)"
|
||||
Inputs="@(copy)" />
|
||||
</Target>
|
||||
<PropertyGroup>
|
||||
<ComputeLinkInputsTargets>
|
||||
$(ComputeLinkInputsTargets);
|
||||
ComputecopyOutput;
|
||||
</ComputeLinkInputsTargets>
|
||||
<ComputeLibInputsTargets>
|
||||
$(ComputeLibInputsTargets);
|
||||
ComputecopyOutput;
|
||||
</ComputeLibInputsTargets>
|
||||
</PropertyGroup>
|
||||
<Target
|
||||
Name="ComputecopyOutput"
|
||||
Condition="'@(copy)' != ''">
|
||||
<ItemGroup>
|
||||
<copyDirsToMake
|
||||
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
||||
Include="%(copy.Outputs)" />
|
||||
</ItemGroup>
|
||||
<MakeDir
|
||||
Directories="@(copyDirsToMake->'%(RootDir)%(Directory)')" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user