-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for issue #12551 #13006
Fix for issue #12551 #13006
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome 👍
As long as the CI is green, LGTM
dist/bin/scala.bat
Outdated
) else if "%__ARG%"=="-with-compiler" ( | ||
set _WITH_COMPILER=1 | ||
) else if "%__ARG%"=="-d" ( | ||
set "_JAVA_DEBUG=%_DEBUG_STR%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, the -d
is removed from the shell script, as well as _DEBUG_STR
|
||
if not exist "%_SITE_DIR%" mkdir "%_SITE_DIR%" | ||
call "%_PREFIX%\bin\scaladoc.bat" -d "%_SITE_DIR%" -project Hello "%_SOURCE%" | ||
endlocal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add it to the CI like this one: https://github.com/lampepfl/dotty/blob/master/.github/workflows/ci.yaml#L159
This fix consists of two groups of batch files:
dist/bin/
; they are based on the corresponding bash scripts and should be kept in sync with them.NB. The generated distribution archive (e.g.
scala3-3.0.2-RC1-bin-SNAPSHOT.zip
) will include both the batch files and the bash scripts.winCmdTests
; it is targeted at the Windows prompt while the bash script is targeted at Unix-like shells such as MingW, MSYS2 or WSL.NB. This batch file is to be executed by the CI job running on a GitHub managed Windows machine.