This commit is contained in:
		
							parent
							
								
									33a9c8027a
								
							
						
					
					
						commit
						fd295d8c88
					
				
					 3 changed files with 10 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,2 +1,2 @@
 | 
			
		|||
30/1/2025.................
 | 
			
		||||
..lg
 | 
			
		||||
..lgn
 | 
			
		||||
| 
						 | 
				
			
			@ -1,4 +1,8 @@
 | 
			
		|||
file:copy("dist/pdfbox-3.0.4.fat.jar","/usr/local/basex/lib/custom/"),
 | 
			
		||||
"
 | 
			
		||||
copy..
 | 
			
		||||
"
 | 
			
		||||
declare base-uri '../';
 | 
			
		||||
import module namespace build = 'urn:quodatum:build1' at 'build.xqm';
 | 
			
		||||
 | 
			
		||||
declare variable $custom:= "/usr/local/basex/lib/custom/";
 | 
			
		||||
declare $jar:=file:parent(static-base-uri())
 | 
			
		||||
"copy..",
 | 
			
		||||
file:copy("dist/pdfbox-3.0.4.fat.jar",$custom),
 | 
			
		||||
file:list($custom)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,6 +68,7 @@ as empty-sequence(){
 | 
			
		|||
           =>trace("Download: ")))
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
(:~ write-binary but create dir if required :)
 | 
			
		||||
declare function build:write-binary($dest as xs:string,$contents)
 | 
			
		||||
as empty-sequence(){
 | 
			
		||||
file:create-dir(file:parent($dest)),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue