Skip to content

Commit

Permalink
Move common packaging information into Directory.Build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
dawedawe committed Sep 20, 2023
1 parent 38217a1 commit b555309
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@
<Content Include="$(MSBuildThisFileDirectory)README.md" PackagePath="README.md" />
</ItemGroup>

<ItemGroup Condition="'$(GeneratePackageOnBuild)' == 'true'">
<PackageReference Include="Ionide.KeepAChangelog.Tasks" PrivateAssets="All" />
</ItemGroup>

<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;analyzers;compiler;tooling;editor;</PackageTags>
</PropertyGroup>

</Project>
1 change: 0 additions & 1 deletion src/FSharp.Analyzers.Cli/FSharp.Analyzers.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<PackageReference Include="FSharp.Core" />
<PackageReference Include="Argu" />
<PackageReference Include="Glob" />
<PackageReference Include="Ionide.KeepAChangelog.Tasks" PrivateAssets="all" />
<PackageReference Include="Ionide.ProjInfo.ProjectSystem"/>
<PackageReference Include="Microsoft.Build" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="runtime" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<Authors>Florian Verdonck, David Schaefer</Authors>
<Description>Test facilities for the FSharp.Analyzers.SDK</Description>
<Copyright>Copyright 2023</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;analyzers;compiler;tooling;editor;</PackageTags>
</PropertyGroup>


Expand All @@ -18,7 +16,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ionide.KeepAChangelog.Tasks" PrivateAssets="all" />
<PackageReference Include="FSharp.Compiler.Service"/>
<PackageReference Include="CliWrap" />
<PackageReference Include="MSBuild.StructuredLogger" />
Expand Down
3 changes: 0 additions & 3 deletions src/FSharp.Analyzers.SDK/FSharp.Analyzers.SDK.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<Authors>Krzysztof Cieslak</Authors>
<Description>SDK for building custom analyzers for FSAC / F# editors</Description>
<Copyright>Copyright 2019 Lambda Factory</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>F#;analyzers;compiler;tooling;editor;</PackageTags>
</PropertyGroup>

<ItemGroup>
Expand All @@ -21,7 +19,6 @@
<ItemGroup>
<PackageReference Include="FSharp.Core" />
<PackageReference Include="FSharp.Compiler.Service"/>
<PackageReference Include="Ionide.KeepAChangelog.Tasks" PrivateAssets="all" />
<PackageReference Include="McMaster.NETCore.Plugins" />
</ItemGroup>

Expand Down

0 comments on commit b555309

Please sign in to comment.