aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-01-15 20:07:02 +0100
committerJakob Odersky <jodersky@gmail.com>2014-01-15 20:07:02 +0100
commit8e720f51ff8e7ae6609217b21b292190cd579c64 (patch)
treea61857f24854bebf56394c021d8fd202b5adcb2e
parent4e7d68a3b846b6c0918536fa20d311f5018a63d7 (diff)
downloadakka-serial-8e720f51ff8e7ae6609217b21b292190cd579c64.tar.gz
akka-serial-8e720f51ff8e7ae6609217b21b292190cd579c64.tar.bz2
akka-serial-8e720f51ff8e7ae6609217b21b292190cd579c64.zip
remove nativefat.scala.disabled
-rw-r--r--project/nativefat.scala.disabled47
1 files changed, 0 insertions, 47 deletions
diff --git a/project/nativefat.scala.disabled b/project/nativefat.scala.disabled
deleted file mode 100644
index e1cfcd3..0000000
--- a/project/nativefat.scala.disabled
+++ /dev/null
@@ -1,47 +0,0 @@
-import sbt._
-import Keys._
-import NativeKeys._
-import java.io.File
-import scala.collection.mutable.HashSet
-
-object NativeFatKeys {
-
- val NativeFat = config("nativeFat")
-
-
-}
-
-object NativeFatDefaults {
- import NativeFatKeys._
-
- def highest(files: Seq[File], separator: String) = {
- files.sortBy{f =>
- f.getName.split(separator) match {
- case Array(name, version) => version
- case _ => throw new RuntimeException("Error parsing file version string: " + f.getName)
- }
- }.last
- }
-
- val gen = taskKey[Seq[File]]("")
-
- val genImpl = Def.task {
- val resDir = (resourceManaged).value
- val binDir = nativeTargetDirectory.value
- val binarises = nativeLink.value
-
- val resources = for ((_, binary) <- binarises) yield {
- val relative = (binary relativeTo binDir).get.getPath
- val resource = resDir / "native" / relative
- IO.copyFile(binary, resource)
- resource
- }
- resources.toSeq
- }
-
- val settings = Seq(
- gen := genImpl.value,
- resourceGenerators in NativeFat := Seq(genImpl)
- )
-
-} \ No newline at end of file