Skip to content

Commit

Permalink
Add SourceLink for XToolkit.Common (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcoder authored Nov 25, 2021
1 parent 0e9177c commit f75503b
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 10 deletions.
21 changes: 21 additions & 0 deletions NuGet.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSource>true</IncludeSource>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<!-- Define Deterministic builds property for Azure Pipelines -->
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
<Name>Softeq.XToolkit.Common</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)..\NuGet.targets" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@
<Name>Softeq.XToolkit.Common</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)..\NuGet.targets" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
</Project>
3 changes: 3 additions & 0 deletions Softeq.XToolkit.Common/Softeq.XToolkit.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)..\NuGet.targets" />

</Project>
47 changes: 37 additions & 10 deletions nuget/Softeq.XToolkit.Common.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,53 @@
<package>
<metadata>
<id>Softeq.XToolkit.Common</id>
<version>1.1.0-beta7</version>
<version>1.2.0-beta1</version>
<title>Softeq.XToolkit.Common</title>
<authors>Softeq Development Corp.</authors>
<owners>Softeq Development Corp.</owners>
<licenseUrl>https://github.com/Softeq/XToolkit.WhiteLabel/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/Softeq/XToolkit.WhiteLabel</projectUrl>
<license type="file">LICENSE</license>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<projectUrl>https://softeq.github.io/XToolkit.WhiteLabel/articles/xtoolkit/common.html</projectUrl>
<repository type="git" url="https://github.com/Softeq/XToolkit.WhiteLabel.git" />
<description>The most common components without dependencies that can be reused in any project.</description>
<copyright>Copyright 2020 Softeq Development Corp.</copyright>
<tags>Softeq XToolkit Xamarin iOS Android</tags>
<copyright>Copyright 2021 Softeq Development Corp.</copyright>
<tags>softeq, xtoolkit, xamarin, ios, android, mvvm, toolkit, kit</tags>
<releaseNotes>Releases: https://github.com/Softeq/XToolkit.WhiteLabel/releases</releaseNotes>
<dependencies>
<group targetFramework="netstandard2.1" />
<group targetFramework="MonoAndroid10" />
<group targetFramework="Xamarin.iOS10" />
</dependencies>
</metadata>
<files>

<file src="../LICENSE" />

<!-- Core -->
<file src="../Softeq.XToolkit.Common/bin/Release/netstandard2.1/Softeq.XToolkit.Common.dll" target="lib\netstandard2.1" />
<file
src="../Softeq.XToolkit.Common/bin/Release/netstandard2.1/Softeq.XToolkit.Common.*"
exclude="**/*.deps.json"
target="lib\netstandard2.1" />

<!-- Droid -->
<file src="../Softeq.XToolkit.Common/bin/Release/netstandard2.1/Softeq.XToolkit.Common.dll" target="lib\MonoAndroid10" />
<file src="../Softeq.XToolkit.Common.Droid/bin/Release/Softeq.XToolkit.Common.Droid.dll" target="lib\MonoAndroid10" />
<file
src="../Softeq.XToolkit.Common/bin/Release/netstandard2.1/Softeq.XToolkit.Common.*"
exclude="**/*.deps.json"
target="lib\MonoAndroid10" />
<file
src="../Softeq.XToolkit.Common.Droid/bin/Release/Softeq.XToolkit.Common.Droid.*"
exclude="**/*.deps.json"
target="lib\MonoAndroid10" />

<!-- iOS -->
<file src="../Softeq.XToolkit.Common/bin/Release/netstandard2.1/Softeq.XToolkit.Common.dll" target="lib\Xamarin.iOS10" />
<file src="../Softeq.XToolkit.Common.iOS/bin/Release/Softeq.XToolkit.Common.iOS.dll" target="lib\Xamarin.iOS10" />
<file
src="../Softeq.XToolkit.Common/bin/Release/netstandard2.1/Softeq.XToolkit.Common.*"
exclude="**/*.deps.json"
target="lib\Xamarin.iOS10" />
<file
src="../Softeq.XToolkit.Common.iOS/bin/Release/Softeq.XToolkit.Common.iOS.*"
exclude="**/*.deps.json"
target="lib\Xamarin.iOS10" />

</files>
</package>

0 comments on commit f75503b

Please sign in to comment.