Lines Matching refs:js
23 export PREFIX="$(pwd)/libsodium-js"
24 export DONE_FILE="$(pwd)/js.done"
31 export PREFIX="$(pwd)/libsodium-js-sumo"
32 export DONE_FILE="$(pwd)/js-sumo.done"
38 export PREFIX="$(pwd)/libsodium-js-tests"
39 export DONE_FILE="$(pwd)/js-tests-browser.done"
48 export PREFIX="$(pwd)/libsodium-js-tests"
49 export DONE_FILE="$(pwd)/js-tests.done"
79 emccLibsodium "${PREFIX}/lib/libsodium.asm.tmp.js" -Oz -s WASM=0 -s RUNNING_JS_OPTS=1
80 emccLibsodium "${PREFIX}/lib/libsodium.wasm.tmp.js" -O3 -s WASM=1
82 cat > "${PREFIX}/lib/libsodium.js" <<- EOM
111 $(cat "${PREFIX}/lib/libsodium.wasm.tmp.js")
116 $(cat "${PREFIX}/lib/libsodium.asm.tmp.js" | sed 's|use asm||g')
120 rm "${PREFIX}/lib/libsodium.asm.tmp.js" "${PREFIX}/lib/libsodium.wasm.tmp.js"
121 touch -r "${PREFIX}/lib/libsodium.js" "$DONE_FILE"
122 ls -l "${PREFIX}/lib/libsodium.js"
141 echo 'node.js not found - test suite skipped' >&2
155 for file in *.js; do
157 tname=$(echo "$file" | sed 's/.js$//')
168 for file in *.js; do