Skip to content
Snippets Groups Projects
Commit da6264d0 authored by Mikaël Mayer's avatar Mikaël Mayer Committed by Ravi
Browse files

Leon now works again on Windows.

parent 61804194
No related branches found
No related tags found
No related merge requests found
......@@ -22,12 +22,18 @@ site.settings
site.sphinxSupport()
if(System.getProperty("sun.arch.data.model") == "64") {
unmanagedBase <<= baseDirectory { base => base / "unmanaged" / "64" }
val osName = Option(System.getProperty("os.name")).getOrElse("").toLowerCase()
val osArch = System.getProperty("sun.arch.data.model")
if(osName.indexOf("win") != -1) {
(unmanagedJars in Compile) += baseDirectory.value / "unmanaged" / s"scalaz3-win-$osArch.jar"
} else {
unmanagedBase <<= baseDirectory { base => base / "unmanaged" / "32" }
(unmanagedJars in Compile) += baseDirectory.value / "unmanaged" / s"scalaz3-unix-$osArch.jar"
}
unmanagedBase <<= baseDirectory { base => base / "unmanaged" / osArch }
resolvers ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
......
File moved
File moved
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment