Skip to content

Commit

Permalink
Merge pull request #114 from nickntg/nuget
Browse files Browse the repository at this point in the history
Nuget command for Windows
  • Loading branch information
aalhour authored Dec 13, 2019
2 parents e9fbf9d + 9a97895 commit 14392dc
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Nuget/c-sharp-algorithms.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>C-Sharp-Algorithms</id>
<version>1.0.0</version>
<title>C-Sharp-Algorithms</title>
<authors>Ahmad Alhour</authors>
<owners>Ahmad Alhour</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">MIT</license>
<projectUrl>https://github.com/aalhour/C-Sharp-Algorithms</projectUrl>
<icon>images\icon.png</icon>
<description>Plug-and-play class-library project of standard Data Structures and Algorithms in C#.</description>
</metadata>
<files>
<file src="..\Algorithms\bin\Release\**\*.*" target="lib" />
<file src=".\*.*" exclude="*.cmd" />
<file src=".\images\icon.png" target="images\" />
</files>
</package>
Binary file added Nuget/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Nuget/nuget.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions Nuget/publish_nuget_win.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cd ..
dotnet build -c Release
cd Nuget
nuget pack c-sharp-algorithms.nuspec -Exclude .\*.*
nuget push C-Sharp-Algorithms.1.0.0.nupkg -Source https://api.nuget.org/v3/index.json

0 comments on commit 14392dc

Please sign in to comment.