aboutsummaryrefslogtreecommitdiffstats
path: root/yarnw.bat
diff options
context:
space:
mode:
Diffstat (limited to 'yarnw.bat')
-rw-r--r--yarnw.bat13
1 files changed, 13 insertions, 0 deletions
diff --git a/yarnw.bat b/yarnw.bat
new file mode 100644
index 00000000..6b238575
--- /dev/null
+++ b/yarnw.bat
@@ -0,0 +1,13 @@
1@rem SPDX-FileCopyrightText: 2024 The Refinery Authors <https://refinery.tools/>
2@rem
3@rem SPDX-License-Identifier: EPL-2.0
4
5@echo off
6setlocal
7set script_dir=%~dp0
8cmd /C %script_dir%gradlew.bat installPackageManager
9set node_bin=%script_dir%.node
10set Path=%node_bin%;%Path%
11%node_bin%\yarn.CMD %*
12set exit_code=%ERRORLEVEL%
13endlocal & if %exit_code% neq 0 exit /b %exit_code%