1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Try running the JavaScript tests with Bun before Node

This commit is contained in:
Frank Denis 2024-05-20 21:37:16 +02:00
parent 9c0c1f709e
commit 9703516a5e

View File

@ -150,7 +150,7 @@ EOM
fi
if test "$NODE" = ""; then
for candidate in /usr/local/bin/node /usr/local/bin/nodejs /usr/bin/node /usr/bin/nodejs node nodejs; do
for candidate in bun nodejs node /usr/local/bin/bun /usr/local/bin/nodejs /usr/local/bin/node; do
case $($candidate --version 2>&1) in #(
v*)
NODE=$candidate