We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ad0a86 commit 7a1a3abCopy full SHA for 7a1a3ab
project/scripts/native-integration/winTests.bat
@@ -1,5 +1,5 @@
1
@echo off
2
-setlocal EnableDelayedExpansion
+setlocal
3
4
@rem paths are relative to the root project directory
5
set "_PREFIX=dist\win-x86_64\target\universal\stage"
@@ -11,6 +11,10 @@ set "_OUT_DIR=out"
11
call "%_PREFIX%\bin\scalac.bat" "@project\scripts\options" "%_SOURCE%"
12
if not %ERRORLEVEL%==0 endlocal& exit /b 1
13
14
+@rem Create output directory (scalac requires it to exist)
15
+if exist "%_OUT_DIR%" rmdir /s /q "%_OUT_DIR%"
16
+mkdir "%_OUT_DIR%"
17
+
18
call "%_PREFIX%\bin\scalac.bat" -d "%_OUT_DIR%" "%_SOURCE%"
19
20
0 commit comments