Skip to content

Commit

Permalink
Merge pull request #144 from scalacenter/update/scala-compiler-2.13.15
Browse files Browse the repository at this point in the history
Update scala-compiler, scala-library to 2.13.15
  • Loading branch information
danicheg authored Oct 6, 2024
2 parents 3b851c0 + 82b257f commit 3fb7eec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- 2.13.12
- 2.13.13
- 2.13.14
- 2.13.15
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ val bin212 =
Seq("2.12.20", "2.12.19", "2.12.18", "2.12.17", "2.12.16", "2.12.15", "2.12.14", "2.12.13")
val bin213 =
Seq(
"2.13.15",
"2.13.14",
"2.13.13",
"2.13.12",
Expand All @@ -49,7 +50,7 @@ lazy val fullCrossVersionSettings = Seq(
// NOTE: SBT 1.x provides cross-version support for Scala sources
// (https://www.scala-sbt.org/1.x/docs/Cross-Build.html#Scala-version+specific+source+directory).
// Unfortunately, it only includes directories like "scala_2.12" or "scala_2.13",
// not "scala_2.12.20" or "scala_2.13.14" that we need.
// not "scala_2.12.20" or "scala_2.13.15" that we need.
// That's why we have to work around here.
val base = (Compile / sourceDirectory).value
val versionDir = scalaVersion.value.replaceAll("-.*", "")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package ch.epfl.scala.profilers.tools

import scala.tools.nsc.Global

object SettingsOps {
def areStatisticsEnabled(g: Global): Boolean =
g.settings.areStatisticsEnabled
}

0 comments on commit 3fb7eec

Please sign in to comment.