forked from sheetjs/docs.sheetjs.com
14 lines
339 B
Bash
Executable File
14 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
# https://docs.sheetjs.com/docs/demos/engines/rb
|
|
cd /tmp
|
|
rm -rf sheetjs-rb
|
|
mkdir -p sheetjs-rb
|
|
cd sheetjs-rb
|
|
|
|
curl -LO https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.full.min.js
|
|
curl -LO https://sheetjs.com/pres.numbers
|
|
|
|
curl -LO https://docs.sheetjs.com/execjs/ExecSheetJS.rb
|
|
|
|
ruby ExecSheetJS.rb pres.numbers; echo $?
|