aboutsummaryrefslogtreecommitdiffstats
path: root/yarnw
diff options
context:
space:
mode:
Diffstat (limited to 'yarnw')
-rwxr-xr-xyarnw11
1 files changed, 11 insertions, 0 deletions
diff --git a/yarnw b/yarnw
new file mode 100755
index 00000000..e0daf2e1
--- /dev/null
+++ b/yarnw
@@ -0,0 +1,11 @@
1#!/bin/sh
2# SPDX-FileCopyrightText: 2024 The Refinery Authors <https://refinery.tools/>
3#
4# SPDX-License-Identifier: EPL-2.0
5
6set -eu
7script_dir=$(cd -- "$(dirname -- "$0")" > /dev/null && pwd)
8"${script_dir}/gradlew" installPackageManager
9node_bin="${script_dir}/.node/bin"
10export PATH="${node_bin}:${PATH}"
11exec "${node_bin}/yarn" "$@"