Skip to content

Commit 75c2a36

Browse files
committed
Minor package description update
Showcase how creds can be scoped to an app name/namespace.
1 parent 76df8e7 commit 75c2a36

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

src/CredentialManager/CredentialManager.csproj

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
<RootNamespace>GitCredentialManager</RootNamespace>
88
<PackageTags>cross-platform xplat credentials manager</PackageTags>
99
<PackageProjectUrl>https://clarius.org/CredentialManager</PackageProjectUrl>
10-
<Description>Packages the Git Credential Manager cross-platform implementation for Windows, macOS and Linux for use as a generic credential store.
11-
12-
Usage:
10+
<Description>
11+
Packages the Git Credential Manager cross-platform implementation for Windows, macOS and Linux for use as a generic credential store.
12+
13+
Usage:
14+
15+
var store = CredentialManager.Create("myapp");
16+
</Description>
17+
</PropertyGroup>
1318

14-
var store = CredentialManager.Create();
15-
</Description>
16-
</PropertyGroup>
17-
1819
<ItemGroup>
1920
<PackageReference Include="NuGetizer" Version="1.2.1" PrivateAssets="all" />
2021
<PackageReference Include="ILRepack" Version="2.0.33" Pack="false" />
@@ -26,10 +27,10 @@ Usage:
2627
<ProjectReference Include="..\Core\Core.csproj" Pack="false" />
2728
</ItemGroup>
2829

29-
<Target Name="ILRepack" BeforeTargets="CopyFilesToOutputDirectory"
30-
Inputs="@(IntermediateAssembly -&gt; '%(FullPath)')"
31-
Outputs="$(IntermediateOutputPath)ilrepack.txt"
32-
Returns="@(MergedAssemblies)"
30+
<Target Name="ILRepack" BeforeTargets="CopyFilesToOutputDirectory"
31+
Inputs="@(IntermediateAssembly -&gt; '%(FullPath)')"
32+
Outputs="$(IntermediateOutputPath)ilrepack.txt"
33+
Returns="@(MergedAssemblies)"
3334
Condition="$(OS) == 'WINDOWS_NT' And Exists(@(IntermediateAssembly -&gt; '%(FullPath)'))">
3435
<Message Text="Repacking" Importance="high" />
3536
<ItemGroup>
@@ -52,7 +53,7 @@ Usage:
5253
<MergedAssembliesToRemove Include="@(MergedAssemblies)" />
5354
<MergedAssembliesToRemove Remove="@(ReferenceToPreserve)" />
5455
</ItemGroup>
55-
<Delete Files="@(MergedAssembliesToRemove -&gt; '$(MSBuildProjectDirectory)\$(OutputPath)%(Filename)%(Extension)')"
56+
<Delete Files="@(MergedAssembliesToRemove -&gt; '$(MSBuildProjectDirectory)\$(OutputPath)%(Filename)%(Extension)')"
5657
Condition="Exists('$(MSBuildProjectDirectory)\$(OutputPath)%(Filename)%(Extension)')" />
5758
</Target>
5859

0 commit comments

Comments
 (0)