mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 02:11:22 -06:00
15 lines
237 B
Bash
Executable File
15 lines
237 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
OUT="$1"
|
|
|
|
YARN=$(pwd)/node_modules/.bin/yarn
|
|
|
|
if [[ ! -x "${YARN}" ]]; then
|
|
# Ensure any npm output goes to stderr and doesn't affect our
|
|
# echo output below
|
|
>&2 npm install yarn
|
|
fi
|
|
|
|
echo ${YARN} > ${OUT}
|