Skip to content

Commit

Permalink
built with SourceLink
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmisek committed Mar 4, 2019
1 parent 914f9c8 commit 99e8981
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ publish/

# NuGet Packages
*.nupkg
*.snupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
Expand Down
1 change: 1 addition & 0 deletions Peachpie.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{ED9DAD46
ProjectSection(SolutionItems) = preProject
.travis.yml = .travis.yml
build\build.ps1 = build\build.ps1
build\Targets\CommonBuild.target = build\Targets\CommonBuild.target
MyGet.ps1 = MyGet.ps1
build\Targets\Settings.props = build\Targets\Settings.props
build\update-cache.ps1 = build\update-cache.ps1
Expand Down
12 changes: 8 additions & 4 deletions build/Targets/CommonBuild.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
<PackageTargetFallback Condition="'$(TargetFramework)'=='net45'"
>$(PackageTargetFallback);portable-net45+win8+wpa81+wp8</PackageTargetFallback>
</PropertyGroup>

<PropertyGroup>

</PropertyGroup>

<!-- SourceLink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
10 changes: 1 addition & 9 deletions build/Targets/Settings.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<EmbedUntrackedSources>false</EmbedUntrackedSources>

<!-- symbols -->
<IncludeSymbols>true</IncludeSymbols>
Expand All @@ -49,12 +49,4 @@
<!-- common targets -->
<Import Project="CommonBuild.target" />

<!-- SourceLink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit 99e8981

Please sign in to comment.