Remove questionable license cleanup logic (#14681)
This commit is contained in:
parent
860067bade
commit
dc021278a8
1 changed files with 1 additions and 12 deletions
|
@ -262,19 +262,8 @@
|
||||||
$(TarballSourceDir)runtime*\src\installer\pkg\**\*%(TarballSrcBinaryExtension.Identity)" />
|
$(TarballSourceDir)runtime*\src\installer\pkg\**\*%(TarballSrcBinaryExtension.Identity)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Message Importance="Normal" Text="Deleting checked in binary files: @(TarballSrcBinaryToRemove, ' ')" />
|
||||||
<Delete Files="@(TarballSrcBinaryToRemove)" />
|
<Delete Files="@(TarballSrcBinaryToRemove)" />
|
||||||
|
|
||||||
<!-- We have some not-strictly-required files that are under non-open source licenses.
|
|
||||||
See https://github.com/dotnet/source-build/issues/2359.
|
|
||||||
Remove them. -->
|
|
||||||
<ItemGroup>
|
|
||||||
<TarballSrcNonOpenSourceFiles Include="$(TarballSourceDir)**\humanizer\samples\**\*.js" />
|
|
||||||
<TarballSrcNonOpenSourceFiles Include="$(TarballSourceDir)**\*aspnetcore\**\samples\**\jquery-validation-unobtrusive\.bower.json" />
|
|
||||||
<TarballSrcNonOpenSourceFiles Include="$(TarballSourceDir)**\*aspnetcore\**\samples\**\jquery-validation-unobtrusive\*.js" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Message Importance="High" Text="Deleting files with questionable licenses: @(TarballSrcNonOpenSourceFiles, ' ')" />
|
|
||||||
<Delete Files="@(TarballSrcNonOpenSourceFiles)" />
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="RestoreTextOnlyPackages">
|
<Target Name="RestoreTextOnlyPackages">
|
||||||
|
|
Loading…
Reference in a new issue