Skip to content

Commit

Permalink
Enable building on Scala 2.11 (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior authored Jul 24, 2022
1 parent 8527ee2 commit 67f8b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import scala.sys.process._

val scalaVersions = Seq("3.1.3", "2.13.8", "2.12.16")
val scalaVersions = Seq("3.1.3", "2.13.8", "2.12.16", "2.11.12")
val macrosParadiseVersion = "2.1.1"

ThisBuild / versionScheme := Some("semver-spec")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object NativeLoader {
val plat: String = {
val line =
try {
scala.sys.process.Process("uname -sm").!!.linesIterator.next()
scala.io.Source.fromString(scala.sys.process.Process("uname -sm").!!).getLines().next()
} catch {
case _: Exception => sys.error("Error running `uname` command")
}
Expand Down

0 comments on commit 67f8b23

Please sign in to comment.