forked from sheetjs/docs.sheetjs.com
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			430 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			430 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								# https://docs.sheetjs.com/docs/demos/engines/v8
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cd /tmp
							 | 
						||
| 
								 | 
							
								rm -rf sheetjs-rustyv8
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cargo new sheetjs-rustyv8
							 | 
						||
| 
								 | 
							
								cd sheetjs-rustyv8
							 | 
						||
| 
								 | 
							
								cargo run
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cargo add v8
							 | 
						||
| 
								 | 
							
								cargo run
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								curl -LO https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.full.min.js
							 | 
						||
| 
								 | 
							
								curl -LO https://docs.sheetjs.com/pres.numbers
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								curl -L -o src/main.rs https://docs.sheetjs.com/v8/main.rs
							 | 
						||
| 
								 | 
							
								cargo run --release pres.numbers; echo $?
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								npx -y xlsx-cli sheetjsw.xlsb
							 | 
						||
| 
								 | 
							
								
							 |