Skip to content

Commit

Permalink
Migrate package preparation to dotnet pack (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Dec 14, 2019
1 parent b24a530 commit b8150dd
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 49 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ $ dotnet test

To approve the test results if they differ from the existing ones, execute the `scripts/approve-all.ps1` script using PowerShell or PowerShell Core.

To publish the package, execute the following command with [PowerShell][pwsh]:
To publish the package, execute the following command:

```console
$ pwsh scripts/nuget-pack.ps1
$ dotnet pack --configuration Release
```

History
Expand Down Expand Up @@ -147,7 +147,6 @@ We're very grateful to JMathTeX authors for their work and allowing to redistrib
[launchpad]: https://launchpad.net/wpf-math
[msbuild]: https://github.com/Microsoft/msbuild
[nuget]: https://www.nuget.org/packages/WpfMath/
[pwsh]: https://github.com/PowerShell/PowerShell

[badge-appveyor]: https://ci.appveyor.com/api/projects/status/b26m3rpfcgb91gdg/branch/master?svg=true
[badge-nuget]: https://img.shields.io/nuget/v/WpfMath.svg
24 changes: 0 additions & 24 deletions WpfMath.nuspec

This file was deleted.

7 changes: 0 additions & 7 deletions WpfMath.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
LICENSE.md = LICENSE.md
README.md = README.md
RELEASES.md = RELEASES.md
WpfMath.nuspec = WpfMath.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{853A4436-C44F-4A61-878D-1B85CE43DB31}"
ProjectSection(SolutionItems) = preProject
scripts\nuget-pack.ps1 = scripts\nuget-pack.ps1
EndProjectSection
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "WpfMath.Tests", "src\WpfMath.Tests\WpfMath.Tests.fsproj", "{F19E5FB1-EE6B-4A48-A522-41F30676BE41}"
Expand Down Expand Up @@ -61,7 +55,6 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{853A4436-C44F-4A61-878D-1B85CE43DB31} = {D9341AA3-BF7C-4CC1-8E11-82258967B82F}
{39669369-C4F6-4AC6-9D35-B4B6086FF172} = {D9341AA3-BF7C-4CC1-8E11-82258967B82F}
EndGlobalSection
EndGlobal
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
# VS2019
build_script:
- dotnet build
after_build:
- dotnet pack
test_script:
- dotnet test
14 changes: 0 additions & 14 deletions scripts/nuget-pack.ps1

This file was deleted.

1 change: 1 addition & 0 deletions src/WpfMath.Example/WpfMath.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<LangVersion>8.0</LangVersion>
<UseWpf>true</UseWpf>
<DebugType>Full</DebugType>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../WpfMath/WpfMath.csproj"/>
Expand Down
10 changes: 9 additions & 1 deletion src/WpfMath/WpfMath.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@
<DebugType>Full</DebugType>
</PropertyGroup>
<PropertyGroup>
<PackageId>WpfMath</PackageId>
<Version>0.8.0</Version>
<Title>WPF-Math</Title>
<Authors>ForNeVeR</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ForNeVeR/wpf-math</PackageProjectUrl>
<RepositoryUrl>https://github.com/ForNeVeR/wpf-math.git</RepositoryUrl>
<AssemblyTitle>WPF-Math</AssemblyTitle>
<PackageReleaseNotes>Migrated to .NET 4.5.2; added matrix support; fixed some bugs.</PackageReleaseNotes>
<PackageTags>wpf;latex;formula</PackageTags>
<Description>.NET library for rendering mathematical formulae using the LaTeX typsetting style, for the WPF framework.</Description>
<Copyright>Copyright © Alex Regueiro 2010; Copyright © WPF-Math Contributors 2019</Copyright>
<AssemblyVersion>0.7.0</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Data/*" />
Expand Down

0 comments on commit b8150dd

Please sign in to comment.