Skip to content

Commit

Permalink
Add NuGet package README for native packages and link from managed pa…
Browse files Browse the repository at this point in the history
…ckage README
  • Loading branch information
natke committed Aug 15, 2024
1 parent a5f5916 commit 01c0faa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nuget/MANAGED_PACKAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## About

This package is a dependency of [Microsoft.ML.OnnxRuntimeGenAI](https://www.nuget.org/packages/Microsoft.ML.OnnxRuntimeGenAI) and does not need to be installed directly.
2 changes: 1 addition & 1 deletion nuget/Microsoft.ML.OnnxRuntimeGenAI.Managed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</metadata>
<files>
<file src="..\LICENSE" target="LICENSE" />
<file src="..\src\csharp\README.md" target="README.md" />
<file src="MANAGED_PACKAGE.md" target="README.md" />
<file src="..\ThirdPartyNotices.txt" target="ThirdPartyNotices.txt" />

<file src="..\src\csharp\bin\$configuration$\netstandard2.0\Microsoft.ML.OnnxRuntimeGenAI.dll" target="lib\netstandard2.0" />
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/nuget/generate_nuspec_for_native_nuget.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def generate_license(line_list):
line_list.append('<license type="file">LICENSE</license>')

def generate_readme(line_list):
line_list.append('<readme>README.md</readme>')
line_list.append('<readme>nuget/PACKAGE.md</readme>')

def generate_project_url(line_list, project_url):
line_list.append("<projectUrl>" + project_url + "</projectUrl>")
Expand Down

0 comments on commit 01c0faa

Please sign in to comment.