mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
initial steps for including symbols
@ahelwer - seems several steps are involved for enableing snupkg. I will try to see if I can get there. The NugetCommand@2 specifies whether to include symbols, but I haven't found the portion where it allows the user to specify the name of the package (to snukpg instead of nupkg).
This commit is contained in:
parent
c022a3e573
commit
4039785bb6
2 changed files with 9 additions and 6 deletions
|
@ -57,10 +57,13 @@ def unpack(packages):
|
|||
zip_ref = zipfile.ZipFile(path, 'r')
|
||||
zip_ref.extract("%s/bin/libz3.%s" % (package_dir, ext), "tmp")
|
||||
mk_dir("out/runtimes/%s/native" % dst)
|
||||
shutil.move("tmp/%s/bin/libz3.%s" % (package_dir, ext), "out/runtimes/%s/native/." % dst)
|
||||
shutil.move("tmp/%s/bin/libz3.%s" % (package_dir, ext), "out/runtimes/%s/native/." % dst)
|
||||
if "x64-win" in f:
|
||||
zip_ref.extract("%s/bin/libz3.%s" % (package_dir, "pdb"), "tmp")
|
||||
mk_dir("out/runtimes/%s/native" % dst)
|
||||
shutil.move("tmp/%s/bin/libz3.%s" % (package_dir, "pdb"), "out/runtimes/%s/native/." % dst)
|
||||
mk_dir("out/lib/netstandard1.4/")
|
||||
for b in ["Microsoft.Z3.dll"]:
|
||||
for b in ["Microsoft.Z3.dll", "Microsoft.Z3.pdb"]:
|
||||
zip_ref.extract("%s/bin/%s" % (package_dir, b), "tmp")
|
||||
shutil.move("tmp/%s/bin/%s" % (package_dir, b), "out/lib/netstandard1.4/%s" % b)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue