-
Notifications
You must be signed in to change notification settings - Fork 33
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
Setup sbt-typelevel #418
Setup sbt-typelevel #418
Conversation
|
||
val scalaVer = versions("2.13") | ||
val scala3Ver = versions("3") | ||
val tzdbVersion = "2019c" |
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.
Perhaps we should do 2022b or newer to exercise the parser fix
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.
Agree. Follow-up PR? I also want to do a follow-up PR that fixes the tests, because right now it is not testing against the JDK at all. It will be a bit of work to fix all of that.
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.
Sounds good
) | ||
else | ||
List( | ||
) | ||
}, | ||
javaOptions ++= Seq("-Dfile.encoding=UTF8"), | ||
autoAPIMappings := true, | ||
Compile / doc / sources := { if (isDotty.value) Seq() else (Compile / doc / sources).value } | ||
Compile / doc / sources := Seq() |
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.
No docs ever again?
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.
What is their purpose? The official documentation is the JDK Javadoc.
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.
I guess you're right
zonesFilter := zonesFilterFn, | ||
dbVersion := TzdbPlugin.Version(tzdbVersion), | ||
tlFatalWarnings := false, | ||
Test / test := (Compile / run).toTask("").value |
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.
What does it do?
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.
I'll add a comment. When you call test
it invokes run
. This is so we don't have to add a separate step to CI for checking that.
* If the field is {@link ChronoField#DAY_OF_WEEK DAY_OF_WEEK} then the | ||
* range of the day-of-week, from 1 to 7, will be returned. | ||
* All other {@code ChronoField} instances will throw a {@code DateTimeException}. | ||
* If the field is {@link ChronoField#DAY_OF_WEEK DAY_OF_WEEK} then the range of the day-of-week, |
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.
Are these formatting changes?
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.
Yes. Formatting was not being checked for Scala 3 until this PR.
Hi, thanks for this |
Right, but that PR will have to merge first since this one enforces that all code is formatted. |
I'm goingo to merge this including the formatting changes to get the ball rolling |
No description provided.