| 
									
										
										
										
											2024-05-26 07:50:55 +00:00
										 |  |  | #!/bin/bash
 | 
					
						
							|  |  |  | # https://docs.sheetjs.com/docs/demos/engines/boa | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cd /tmp | 
					
						
							|  |  |  | rm -rf sheetjs-boa | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cargo new sheetjs-boa | 
					
						
							|  |  |  | cd sheetjs-boa | 
					
						
							|  |  |  | cargo run; echo $? | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cargo add boa_engine | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | curl -LO https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.full.min.js | 
					
						
							|  |  |  | curl -LO https://sheetjs.com/pres.xlsx | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | curl -L -o src/main.rs https://docs.sheetjs.com/boa/main.rs | 
					
						
							| 
									
										
										
										
											2025-09-04 03:55:16 +00:00
										 |  |  | cargo run --release pres.xlsx; echo $? |