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

23 lines
518 B
Bash
Executable File

#!/bin/bash
# https://docs.sheetjs.com/docs/demos/engines/hermes
cd /tmp
rm -rf sheetjs-hermes
mkdir -p sheetjs-hermes
cd sheetjs-hermes
curl -LO https://docs.sheetjs.com/hermes/Makefile
curl -LO https://docs.sheetjs.com/hermes/sheetjs-hermes.cpp
make init
make sheetjs-hermes
curl -LO https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.full.min.js
curl -LO https://sheetjs.com/pres.numbers
cp ./build_release/API/hermes/libhermes.* .
cp ./build_release/jsi/libjsi.* .
./sheetjs-hermes pres.numbers; echo $?