Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Aug 22, 2024
1 parent 24b7284 commit e0cc921
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ object Env {
if (os == Platform.win32) OS.Windows
else if (os == Platform.darwin) OS.Mac
else if (os == Platform.linux) OS.GNULinux
else if (os == Platform.android) OS.AndroidOrTermux
else throw new Exception(s"Unknown OS: $os")
}
lazy val getArch: Architecture = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ object OS {
}

case object Mac extends UNIX

sealed trait Linux extends UNIX

case object GNULinux extends UNIX
case object GNULinux extends Linux

case object AndroidOrTermux extends Linux

case object Windows extends OS {
def useCRLF: Boolean = true
Expand Down

0 comments on commit e0cc921

Please sign in to comment.