Skip to content

Commit

Permalink
make a readme file
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Dec 5, 2023
1 parent 9ad4d50 commit f5ae8c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/mk_nuget_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def mk_icon(source_root):
mk_dir("out/content")
shutil.copy(f"{source_root}/resources/icon.jpg", "out/content/icon.jpg")

def mk_readme(source_root):
mk_dir("out/content")
shutil.copy(f"{source_root}/README.md", "out/content/README.md")


def create_nuget_spec(version, repo, branch, commit, symbols, arch):
arch = f".{arch}" if arch == "x86" else ""
Expand Down Expand Up @@ -140,6 +144,7 @@ def create(self):
mk_dir(self.packages)
unpack(self.packages, self.symbols, self.arch)
mk_targets(self.source_root)
mk_readme(self.source_root)
mk_icon(self.source_root)
create_nuget_spec(self.version, self.repo, self.branch, self.commit, self.symbols, self.arch)

Expand Down

0 comments on commit f5ae8c3

Please sign in to comment.