Skip to content

Commit bab15ef

Browse files
Andre CorreiaHaplois
andauthored
WIP: Remove .txt extension from LICENSE file (#781)
* Remove .txt extension from LICENSE file Co-authored-by: Medeni Baykal <[email protected]>
1 parent b1635cc commit bab15ef

10 files changed

+34
-26
lines changed

LICENSE.txt renamed to LICENSE

File renamed without changes.

scripts/Build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ function Create-NugetPackages {
259259
Copy-Item $tfSrcPackageDir\$file $stagingDir -Force
260260
}
261261

262-
# Copy over LICENSE.txt file to staging directory
263-
$licenseFilePath = Join-Path $env:TF_ROOT_DIR "LICENSE.txt"
262+
# Copy over LICENSE file to staging directory
263+
$licenseFilePath = Join-Path $env:TF_ROOT_DIR "LICENSE"
264264
Copy-Item $licenseFilePath $stagingDir -Force
265265

266266
# Call nuget pack on these components.

src/Package/MSTest.Internal.TestFx.Documentation.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<summary>This is a private nuget package that contains the xml documentation files for MSTest V2 Framework.</summary>
1111
<description>This is a private nuget package that contains the xml documentation files for MSTest V2 Framework.</description>
1212
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
13-
<license type="file">LICENSE.txt</license>
13+
<license type="file">LICENSE</license>
1414
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1515
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
1616
<tags>MSTest TestFramework MSTestV2</tags>
@@ -22,7 +22,8 @@
2222
<file src="Extension.Desktop\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml" target="contentFiles\any\any\Extensions\Desktop" />
2323
<file src="Extension.UWP\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml" target="contentFiles\any\any\Extensions\UWP" />
2424

25-
<!-- LICENSE.txt -->
26-
<file src="LICENSE.txt" target="" />
25+
<!-- LICENSE -->
26+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
27+
<file src="LICENS*" target="" />
2728
</files>
2829
</package>

src/Package/MSTest.TestAdapter.Dotnet.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1010
<description>A nuget package targeting running MSTest tests on Dotnet vnext projects.</description>
1111
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
12-
<license type="file">LICENSE.txt</license>
12+
<license type="file">LICENSE</license>
1313
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
1414
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
1515
</metadata>
@@ -25,7 +25,8 @@
2525
<!-- Added the below so source navigation works in dotnet-test scenarios -->
2626
<file src="$packagesroot$\Microsoft.Internal.Dia.Interop.14.0.0\lib\net20\msdia140typelib_clr0200.dll" target="lib\net451\" />
2727

28-
<!-- LICENSE.txt -->
29-
<file src="LICENSE.txt" target="" />
28+
<!-- LICENSE -->
29+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
30+
<file src="LICENS*" target="" />
3031
</files>
3132
</package>

src/Package/MSTest.TestAdapter.Enu.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- ASP.NET Core 1.0+ (Visual Studio 2017)
1717
</description>
1818
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
19-
<license type="file">LICENSE.txt</license>
19+
<license type="file">LICENSE</license>
2020
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
2121
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
2222
<tags>MSTest TestFramework TestAdapter VisualStudio Unittest MSTestV2 Microsoft</tags>
@@ -56,7 +56,8 @@
5656
<file src="Build\Desktop\MSTest.TestAdapter.props" target="build\net45\MSTest.TestAdapter.props" />
5757
<file src="Build\Desktop\MSTest.TestAdapter.targets" target="build\net45\MSTest.TestAdapter.targets" />
5858

59-
<!-- LICENSE.txt -->
60-
<file src="LICENSE.txt" target="" />
59+
<!-- LICENSE -->
60+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
61+
<file src="LICENS*" target="" />
6162
</files>
6263
</package>

src/Package/MSTest.TestAdapter.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- ASP.NET Core 1.0+ (Visual Studio 2017)
1717
</description>
1818
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
19-
<license type="file">LICENSE.txt</license>
19+
<license type="file">LICENSE</license>
2020
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
2121
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
2222
<tags>MSTest TestFramework TestAdapter VisualStudio Unittest MSTestV2 Microsoft</tags>
@@ -99,7 +99,8 @@
9999
<file src="Build\Desktop\MSTest.TestAdapter.props" target="build\net45\MSTest.TestAdapter.props" />
100100
<file src="Build\Desktop\MSTest.TestAdapter.targets" target="build\net45\MSTest.TestAdapter.targets" />
101101

102-
<!-- LICENSE.txt -->
103-
<file src="LICENSE.txt" target="" />
102+
<!-- LICENSE -->
103+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
104+
<file src="LICENS*" target="" />
104105
</files>
105106
</package>

src/Package/MSTest.TestAdapter.symbols.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- ASP.NET Core 1.0+ (Visual Studio 2017)
1717
</description>
1818
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
19-
<license type="file">LICENSE.txt</license>
19+
<license type="file">LICENSE</license>
2020
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
2121
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
2222
<tags>MSTest TestFramework TestAdapter VisualStudio Unittest MSTestV2 Microsoft</tags>
@@ -104,7 +104,8 @@
104104
<file src="MSTest.Core\ru\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll" target="build\_common\ru" />
105105
<file src="MSTest.Core\tr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll" target="build\_common\tr" />
106106

107-
<!-- LICENSE.txt -->
108-
<file src="LICENSE.txt" target="" />
107+
<!-- LICENSE -->
108+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
109+
<file src="LICENS*" target="" />
109110
</files>
110111
</package>

src/Package/MSTest.TestFramework.enu.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
To discover and execute tests for project.json based projects install dotnet-test-mstest.
2222
</description>
2323
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
24-
<license type="file">LICENSE.txt</license>
24+
<license type="file">LICENSE</license>
2525
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
2626
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
2727
<tags>MSTest TestFramework Unittest MSTestV2 Microsoft Test Testing TDD Framework </tags>
@@ -61,7 +61,8 @@
6161
<file src="Extension.UWP\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll" target="lib\uap10.0" />
6262
<file src="Extension.UWP\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml" target="lib\uap10.0" />
6363

64-
<!-- LICENSE.txt -->
65-
<file src="LICENSE.txt" target="" />
64+
<!-- LICENSE -->
65+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
66+
<file src="LICENS*" target="" />
6667
</files>
6768
</package>

src/Package/MSTest.TestFramework.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
To discover and execute tests for project.json based projects install dotnet-test-mstest.
2222
</description>
2323
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
24-
<license type="file">LICENSE.txt</license>
24+
<license type="file">LICENSE</license>
2525
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
2626
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
2727
<tags>MSTest TestFramework Unittest MSTestV2 Microsoft Test Testing TDD Framework </tags>
@@ -145,7 +145,8 @@
145145
<file src="Extension.UWP\ru\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml" target="lib\uap10.0\ru" />
146146
<file src="Extension.UWP\tr\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml" target="lib\uap10.0\tr" />
147147

148-
<!-- LICENSE.txt -->
149-
<file src="LICENSE.txt" target="" />
148+
<!-- LICENSE -->
149+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
150+
<file src="LICENS*" target="" />
150151
</files>
151152
</package>

src/Package/MSTest.TestFramework.symbols.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
To discover and execute tests for project.json based projects install dotnet-test-mstest.
2121
</description>
2222
<projectUrl>https://github.com/microsoft/testfx</projectUrl>
23-
<license type="file">LICENSE.txt</license>
23+
<license type="file">LICENSE</license>
2424
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
2525
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
2626
<tags>MSTest TestFramework Unittest MSTestV2 Microsoft Test Testing TDD Framework </tags>
@@ -59,7 +59,8 @@
5959
<!-- Source code -->
6060
<file src="$srcroot$\**\*.cs" target="src" />
6161

62-
<!-- LICENSE.txt -->
63-
<file src="LICENSE.txt" target="" />
62+
<!-- LICENSE -->
63+
<!-- Workaround for https://github.com/NuGet/Home/issues/7601 -->
64+
<file src="LICENS*" target="" />
6465
</files>
6566
</package>

0 commit comments

Comments
 (0)