Skip to content

Commit

Permalink
Move all necessary metadata to csproj so that dotnet pack can be used…
Browse files Browse the repository at this point in the history
… for package generation
  • Loading branch information
mariusz-schimke committed Sep 4, 2023
1 parent 47fed6b commit 7b5185d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 74 deletions.
45 changes: 28 additions & 17 deletions src/GiGraph.Dot/GiGraph.Dot.csproj
Original file line number Diff line number Diff line change
@@ -1,45 +1,56 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<Configurations>Debug;Release;Publish</Configurations>
<Platforms>AnyCPU</Platforms>

<ApplicationIcon>..\..\assets\icon.ico</ApplicationIcon>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Title>GiGraph DOT</Title>

<Version></Version>
<IncludeSourceRevisionInInformationalVersion>true</IncludeSourceRevisionInInformationalVersion>

<PackageId>GiGraph.Dot</PackageId>
<Title>GiGraph.Dot</Title>
<Product>GiGraph DOT</Product>
<Description>A simple solution for generating graphs in the DOT language. The output is a textual script that may be visualized or converted to an image, using the Graphviz software. There are handy visualization tools like Graphviz Preview for Visual Studio Code or online tools like https://viz-js.com or http://magjac.com/graphviz-visual-editor, where you paste a script to view its visualization.</Description>
<Authors>Mariusz Schimke</Authors>
<Copyright>Copyright © 2020-2023 Mariusz Schimke</Copyright>
<PackageTags>DOT Graphviz graph diagram visualization</PackageTags>
<!-- <Copyright>Copyright © 2020-2023 Mariusz Schimke</Copyright>-->

<PackageProjectUrl>https://github.com/mariusz-schimke/GiGraph</PackageProjectUrl>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/mariusz-schimke/GiGraph.git</RepositoryUrl>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryType>git</RepositoryType>
<Description>$(Description)</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<RepositoryUrl>https://github.com/mariusz-schimke/GiGraph.git</RepositoryUrl>
<RepositoryBranch></RepositoryBranch>
<RepositoryCommit></RepositoryCommit>

<PackageReleaseNotes>- The names and comments of certain methods and properties have been improved to better express their meaning.

- A couple of helper methods have been added to nodes (ToHtmlTableNode, ToPlainHtmlNode with HTML builder).

See also https://github.com/$repository$/releases</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup>
<ApplicationIcon>..\..\assets\icon.ico</ApplicationIcon>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Configurations>Debug;Release;Publish</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Publish' ">
<PropertyGroup Condition="'$(Configuration)' == 'Publish'">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>GiGraph.snk</AssemblyOriginatorKeyFile>
<Optimize>true</Optimize>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
<PackageReference Include="SauceControl.InheritDoc">
Expand Down
31 changes: 0 additions & 31 deletions src/GiGraph.Dot/GiGraph.Dot.nuspec

This file was deleted.

26 changes: 0 additions & 26 deletions src/GiGraph.Dot/Properties/AssemblyInfo.cs

This file was deleted.

0 comments on commit 7b5185d

Please sign in to comment.