Skip to content

Add dotty to cross-build #270

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

Merged
merged 14 commits into from
Mar 18, 2020
Prev Previous commit
Next Next commit
Pass -language:Scala2 to dotty
  • Loading branch information
Philippus committed Mar 8, 2020
commit e761e67459ed87f3191993b0409bda5dfa9ca514
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
"-doc-title",
"Scala Parser Combinators",
"-doc-version",
version.value
version.value,
if (isDotty.value) "-language:Scala2"
else ""
),
unmanagedSourceDirectories in Compile ++= {
(unmanagedSourceDirectories in Compile).value.map { dir =>
Expand Down