aboutsummaryrefslogtreecommitdiffstats
path: root/yarnw.bat
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-08 16:20:58 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-08 17:52:35 +0200
commitf862867a07fb09085a28bf134eb42276fde26540 (patch)
treeb84f08003f0c143e27c3e3a339ab53f2aa339984 /yarnw.bat
parentfix(language): Sonar lint issue (diff)
downloadrefinery-f862867a07fb09085a28bf134eb42276fde26540.tar.gz
refinery-f862867a07fb09085a28bf134eb42276fde26540.tar.zst
refinery-f862867a07fb09085a28bf134eb42276fde26540.zip
docs: add Docusaurus website
Also refactor Yarn buildscripts.
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%