This commit is contained in:
		
							parent
							
								
									05619a1f2a
								
							
						
					
					
						commit
						5a99d9ae76
					
				
					 4 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -36,7 +36,6 @@ jobs:
 | 
			
		|||
 | 
			
		||||
    - name: Build package
 | 
			
		||||
      run: |
 | 
			
		||||
        ls -l
 | 
			
		||||
        basex scripts/make-fat-jar.xq
 | 
			
		||||
 | 
			
		||||
    - name: Run BaseX Tests
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
30/1/2025..............
 | 
			
		||||
30/1/2025...............
 | 
			
		||||
| 
						 | 
				
			
			@ -63,5 +63,11 @@ as empty-sequence(){
 | 
			
		|||
for $f in $urls
 | 
			
		||||
let $dest:=$destdir || replace($f,"^.*/","") 
 | 
			
		||||
where not(file:exists($dest))
 | 
			
		||||
return file:write-binary($dest, fetch:binary(resolve-uri($f,$build:REPO)=>trace("Download: ")))
 | 
			
		||||
return build:write-binary($dest, fetch:binary(resolve-uri($f,$build:REPO)=>trace("Download: ")))
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
declare function build:write-binary($dest as xs:string,$contents)
 | 
			
		||||
as empty-sequence{
 | 
			
		||||
file:create-dir(file:parent($dest)),
 | 
			
		||||
file:write-binary($dest,$contents)
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -24,6 +24,6 @@ let $name:=replace($config?main-class,"\.","/") || ".xqm"
 | 
			
		|||
let $content:=file:read-binary($config?base || "src/Pdfbox3.xqm")
 | 
			
		||||
let $fat-jar:=archive:update($fat-jar, $name,$content)
 | 
			
		||||
let $output-file := file:resolve-path($config?output,$config?base)
 | 
			
		||||
return (file:write-binary($output-file, $fat-jar),
 | 
			
		||||
return (build:write-binary($output-file, $fat-jar),
 | 
			
		||||
        trace($output-file,"fat jar: "))
 | 
			
		||||
  
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue