deno.land / x / sheetjs@v0.18.3 / demos / altjs / duktape.sh
1234567891011121314151617#!/bin/bashDUKTAPE_VER=2.6.0if [ ! -e duktape-$DUKTAPE_VER ]; then if [ ! -e duktape-$DUKTAPE_VER.tar ]; then if [ ! -e duktape-$DUKTAPE_VER.tar.xz ]; then curl -O https://duktape.org/duktape-$DUKTAPE_VER.tar.xz fi xz -d duktape-$DUKTAPE_VER.tar.xz fi tar -xf duktape-$DUKTAPE_VER.tarfi
for f in duktape.{c,h} duk_config.h; do cp duktape-$DUKTAPE_VER/src/$f .done
Version Info