diff --git a/node/src/build_index.sh b/node/src/build_index.sh index 748437c..8edc05f 100755 --- a/node/src/build_index.sh +++ b/node/src/build_index.sh @@ -1,9 +1,6 @@ #!/usr/bin/env bash SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -cat $1/sxt_proof_of_sql_sdk_wasm.js $SCRIPT_DIR/index_tail.js > $SCRIPT_DIR/index.js -cp $1/sxt_proof_of_sql_sdk_wasm_bg.wasm $SCRIPT_DIR - # Enable error handling set -euo pipefail @@ -78,3 +75,6 @@ main() { } main "$@" + +cat $1/sxt_proof_of_sql_sdk_wasm.js $SCRIPT_DIR/index_tail.js > $SCRIPT_DIR/index.js +cp $1/sxt_proof_of_sql_sdk_wasm_bg.wasm $SCRIPT_DIR