Skip to content

Commit

Permalink
Merge branch 'chore/nuget-package' into dev/v5
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Dec 16, 2015
2 parents 7486579 + 1b81ded commit 0f50e15
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 4 deletions.
Binary file added .nuget/NuGet.exe
Binary file not shown.
7 changes: 7 additions & 0 deletions CSProlog/CSProlog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="CSProlog.nuspec" />
<None Include="PG\go.bat" />
<None Include="PG\JSON.grm" />
<None Include="PG\Parser.tpl" />
Expand All @@ -145,6 +146,12 @@
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if not "$(ConfigurationName)" == "LibraryRelease" goto END
pushd "$(ProjectDir)"
"$(SolutionDir).nuget\nuget.exe" pack "$(ProjectPath)" -Prop Configuration=LibraryRelease;Platform=AnyCPU -o $(OutDir)
:END</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
29 changes: 29 additions & 0 deletions CSProlog/CSProlog.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" ?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>John Pool, Amersfoort, Netherlands, J.Sakamoto</authors>
<owners>John Pool</owners>
<licenseUrl>https://github.com/jsakamoto/CSharpProlog/blob/dev/v5/LICENSE</licenseUrl>
<projectUrl>https://github.com/jsakamoto/CSharpProlog/tree/dev/v5</projectUrl>
<!--
<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>
-->
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>C#Prolog -- A Prolog interpreter written in managed C#</summary>
<description>C#Prolog -- A Prolog interpreter written in C#.
Can easily be integrated in C# programs.
Characteristics: reliable and fairly fast interpreter, command line interface, builtin DCG, XML- and JSON-predicates, SQL-predicates, extendible.</description>
<releaseNotes>
<![CDATA[
v.5.0.0
- BREAKING CHANGE: Remove dependency of "System.Windows.Forms".
- NuGet package release
]]>
</releaseNotes>
<copyright>Copyright (C) 2007-2015 John Pool -- j.pool@ision.nl</copyright>
<tags>Prolog interpreter</tags>
</metadata>
</package>
6 changes: 3 additions & 3 deletions CSProlog/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct ("CSProlog")]
[assembly: AssemblyCopyright("Copyright © 2007-2009 John Pool")]
[assembly: AssemblyCopyright("Copyright © 2007-2015 John Pool")]
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]

Expand All @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("5.0.0.0")]
[assembly: AssemblyFileVersion("5.0.0.0")]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CSharpProlog
# CSharpProlog [![NuGet Package](https://img.shields.io/nuget/v/CSProlog.svg)](https://www.nuget.org/packages/CSProlog/)
A C# implementation of Prolog

## License
Expand Down

0 comments on commit 0f50e15

Please sign in to comment.