docs.sheetjs.com/tests/engines-boa.sh

18 lines
374 B
Bash
Raw Permalink Normal View History

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
2024-06-25 07:16:41 +00:00
cargo run --release; echo $?