From 9a5969ed242ec08b5b7fc277ef86b6845b834243 Mon Sep 17 00:00:00 2001 From: "scala-center-steward[bot]" <111975575+scala-center-steward[bot]@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:24:25 +0000 Subject: [PATCH 1/3] Update scala-compiler, scala-library to 2.13.15 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 22a545f..296de37 100644 --- a/build.sbt +++ b/build.sbt @@ -49,7 +49,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("-.*", "") From 3931bfc161273c8e0c926bfb3039feb83cf02ee2 Mon Sep 17 00:00:00 2001 From: danicheg Date: Sun, 6 Oct 2024 11:49:37 +0300 Subject: [PATCH 2/3] Add Scala 2.13.15 support --- build.sbt | 1 + .../ch/epfl/scala/profilers/tools/SettingsOps.scala | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 plugin/src/main/scala-2.13.15/ch/epfl/scala/profilers/tools/SettingsOps.scala diff --git a/build.sbt b/build.sbt index 296de37..1d17e32 100644 --- a/build.sbt +++ b/build.sbt @@ -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", diff --git a/plugin/src/main/scala-2.13.15/ch/epfl/scala/profilers/tools/SettingsOps.scala b/plugin/src/main/scala-2.13.15/ch/epfl/scala/profilers/tools/SettingsOps.scala new file mode 100644 index 0000000..aadf96d --- /dev/null +++ b/plugin/src/main/scala-2.13.15/ch/epfl/scala/profilers/tools/SettingsOps.scala @@ -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 +} From 82b257f937e4262fae966b0fd0080310f03d93d5 Mon Sep 17 00:00:00 2001 From: danicheg Date: Sun, 6 Oct 2024 11:50:23 +0300 Subject: [PATCH 3/3] Add Scala 2.13.15 to CI --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3497c6c..c6b65d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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