forked from sheetjs/docs.sheetjs.com
17 lines
373 B
Bash
17 lines
373 B
Bash
|
#!/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 $?
|