mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	fixup nuget task
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									d24c488482
								
							
						
					
					
						commit
						62616cf37c
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -77,8 +77,9 @@ def unpack(packages, symbols, arch):
 | 
			
		|||
                    replace(f"{tmp}/{package_dir}/bin/libz3.pdb", f"out/runtimes/{dst}/native/libz3.pdb") 
 | 
			
		||||
                files = ["Microsoft.Z3.dll", "Microsoft.Z3.pdb", "Microsoft.Z3.xml"]                
 | 
			
		||||
                for b in files:
 | 
			
		||||
                    file1 = f"{package_dir}/bin/{b}"
 | 
			
		||||
                    file2 = os.path.join(file1,"netstandard2.0")
 | 
			
		||||
                    dir = os.path.join(tmp, package_dir, "bin")
 | 
			
		||||
                    file1 = os.path_join(dir, b)
 | 
			
		||||
                    file2 = os.path.join(dir, "netstandard2.0", b)
 | 
			
		||||
                    if os.path.exists(file1):
 | 
			
		||||
                        zip_ref.extract(file1, f"{tmp}")
 | 
			
		||||
                        replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard2.0/{b}")
 | 
			
		||||
| 
						 | 
				
			
			@ -87,6 +88,8 @@ def unpack(packages, symbols, arch):
 | 
			
		|||
                        replace(f"{tmp}/{package_dir}/bin/netstandard2.0/{b}", f"out/lib/netstandard2.0/{b}")
 | 
			
		||||
                    else:
 | 
			
		||||
                        print(f"Could not find file path {file1} nor {file2}")
 | 
			
		||||
                        print(os.listdir(dir))
 | 
			
		||||
                        print(os.listdir(tmp))                        
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def mk_targets(source_root):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue