#!/bin/bash PUP_BIN=/home/lash/src/build/pup/pup cat node_modules/openpgp/dist/openpgp.min.js node_modules/MimeJS/src/base64.js node_modules/MimeJS/dist/mime-js.min.js node_modules/jssha/dist/sha256.js run.js booteth/wallet.js booteth/session.js booteth/eip1193.js registry.js wala.js promise.js rpc.js > tmp.js node node_modules/uglify-js/bin/uglifyjs tmp.js > src.js echo -n "" > standalone.html cat index.html | $PUP_BIN "head title" >> standalone.html cat index.html | $PUP_BIN "head style" >> standalone.html echo -n "" >> standalone.html #echo -n "" >> standalone.html cat <> standalone.html eof cat index.html | $PUP_BIN "body" >> standalone.html echo -n "" >> standalone.html