Skip to content

Commit 14392dc

Browse files
authored
Merge pull request #114 from nickntg/nuget
Nuget command for Windows
2 parents e9fbf9d + 9a97895 commit 14392dc

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

Nuget/c-sharp-algorithms.nuspec

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>C-Sharp-Algorithms</id>
5+
<version>1.0.0</version>
6+
<title>C-Sharp-Algorithms</title>
7+
<authors>Ahmad Alhour</authors>
8+
<owners>Ahmad Alhour</owners>
9+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
10+
<license type="expression">MIT</license>
11+
<projectUrl>https://github.com/aalhour/C-Sharp-Algorithms</projectUrl>
12+
<icon>images\icon.png</icon>
13+
<description>Plug-and-play class-library project of standard Data Structures and Algorithms in C#.</description>
14+
</metadata>
15+
<files>
16+
<file src="..\Algorithms\bin\Release\**\*.*" target="lib" />
17+
<file src=".\*.*" exclude="*.cmd" />
18+
<file src=".\images\icon.png" target="images\" />
19+
</files>
20+
</package>

Nuget/images/icon.png

3.69 KB
Loading

Nuget/nuget.exe

5.52 MB
Binary file not shown.

Nuget/publish_nuget_win.cmd

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
cd ..
2+
dotnet build -c Release
3+
cd Nuget
4+
nuget pack c-sharp-algorithms.nuspec -Exclude .\*.*
5+
nuget push C-Sharp-Algorithms.1.0.0.nupkg -Source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)