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

18 lines
374 B
Bash
Executable File

#!/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 $?