Skip to content

Commit

Permalink
#399: Modified date of redistributed xunit.abstractions.dll is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Jan 17, 2024
1 parent edf51bc commit 374dbf8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ end_of_line = lf
insert_final_newline = true
indent_style = tab

[*.sln]
[*.{sign-file-list,sln}]
end_of_line = crlf

# Visual Studio demands 2-spaced project files
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.csproj text merge=union
*.ico binary
*.resx text merge=union
*.sign-file-list eol=crlf
*.sln text eol=crlf merge=union
*.snk binary
*.vbproj text merge=union
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build\net462\xunit.runner.visualstudio.testadapter.dll
build\net6.0\xunit.runner.visualstudio.testadapter.dll
2 changes: 1 addition & 1 deletion tools/builder/common
6 changes: 6 additions & 0 deletions tools/builder/targets/Packages.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.IO;
using System.Threading.Tasks;
using Xunit.BuildTools.Models;

Expand All @@ -11,5 +12,10 @@ public static async Task OnExecute(BuildContext context)

var packArgs = $"pack --nologo --no-build --configuration {context.ConfigurationText} --output {context.PackageOutputFolder} --verbosity {context.Verbosity} src/xunit.runner.visualstudio -p:NuspecFile=xunit.runner.visualstudio.nuspec";
await context.Exec("dotnet", packArgs);

File.Copy(
Path.Join(context.BaseFolder, "src", "xunit.runner.visualstudio", "xunit.runner.visualstudio.sign-file-list"),
Path.Join(context.PackageOutputFolder, "xunit.runner.visualstudio.sign-file-list")
);
}
}

0 comments on commit 374dbf8

Please sign in to comment.