aboutsummaryrefslogtreecommitdiffstats
path: root/yarnw
blob: e0daf2e18fcf1e549d810ba9d01e10b667605940 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# SPDX-FileCopyrightText: 2024 The Refinery Authors <https://refinery.tools/>
#
# SPDX-License-Identifier: EPL-2.0

set -eu
script_dir=$(cd -- "$(dirname -- "$0")" > /dev/null && pwd)
"${script_dir}/gradlew" installPackageManager
node_bin="${script_dir}/.node/bin"
export PATH="${node_bin}:${PATH}"
exec "${node_bin}/yarn" "$@"