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

17 lines
373 B
Bash
Raw 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
cargo run --release; echo $?