diff options
author | 2024-04-08 16:20:58 +0200 | |
---|---|---|
committer | 2024-04-08 17:52:35 +0200 | |
commit | f862867a07fb09085a28bf134eb42276fde26540 (patch) | |
tree | b84f08003f0c143e27c3e3a339ab53f2aa339984 /yarnw.bat | |
parent | fix(language): Sonar lint issue (diff) | |
download | refinery-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.bat | 13 |
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 | ||
6 | setlocal | ||
7 | set script_dir=%~dp0 | ||
8 | cmd /C %script_dir%gradlew.bat installPackageManager | ||
9 | set node_bin=%script_dir%.node | ||
10 | set Path=%node_bin%;%Path% | ||
11 | %node_bin%\yarn.CMD %* | ||
12 | set exit_code=%ERRORLEVEL% | ||
13 | endlocal & if %exit_code% neq 0 exit /b %exit_code% | ||