All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.build.Os.scala Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
package scala.build

import java.util.Locale

import scala.util.Properties

object Os {
  lazy val pwd: os.Path =
    if (Properties.isWin)
      os.Path(os.pwd.toIO.getCanonicalFile)
    else
      os.pwd
  lazy val isArmArchitecture: Boolean =
    sys.props.getOrElse("os.arch", "").toLowerCase(Locale.ROOT) == "aarch64"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy