22 lines
430 B
Bash
Executable File
22 lines
430 B
Bash
Executable File
#!/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
|
|
|