Skip to content

Commit 8171c2e

Browse files
committed
Use hardlinks
1 parent 08ddd6c commit 8171c2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/dotnet-watch.Tests/dotnet-watch.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
</PropertyGroup>
3232
<ItemGroup>
3333
<_FileItem Include="$(_Files)" />
34-
<None Include="@(_FileItem)" Link="test-browser\%(_FileItem.Filename)%(_FileItem.Extension)" CopyToOutputDirectory="PreserveNewest" />
34+
<!-- USe hardlinks so that executable permissions are preserved on Unix -->
35+
<None Include="@(_FileItem)" Link="test-browser\%(_FileItem.Filename)%(_FileItem.Extension)" CopyToOutputDirectory="PreserveNewest" UseHardlinksIfPossible="true"/>
3536
</ItemGroup>
3637
</Target>
3738
</Project>

0 commit comments

Comments
 (0)