aboutsummaryrefslogtreecommitdiff
path: root/bridge/src/sbt-test/source-dependencies/compactify
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/src/sbt-test/source-dependencies/compactify')
-rw-r--r--bridge/src/sbt-test/source-dependencies/compactify/build.sbt9
-rw-r--r--bridge/src/sbt-test/source-dependencies/compactify/project/DottyInjectedPlugin.scala17
-rw-r--r--bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala44
-rw-r--r--bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala41
-rw-r--r--bridge/src/sbt-test/source-dependencies/compactify/test8
5 files changed, 0 insertions, 119 deletions
diff --git a/bridge/src/sbt-test/source-dependencies/compactify/build.sbt b/bridge/src/sbt-test/source-dependencies/compactify/build.sbt
deleted file mode 100644
index f44ca0862..000000000
--- a/bridge/src/sbt-test/source-dependencies/compactify/build.sbt
+++ /dev/null
@@ -1,9 +0,0 @@
-TaskKey[Unit]("output-empty") <<= classDirectory in Configurations.Compile map { outputDirectory =>
- def classes = (outputDirectory ** "*.class").get
- if(!classes.isEmpty) sys.error("Classes existed:\n\t" + classes.mkString("\n\t")) else ()
-}
-
-// apparently Travis CI stopped allowing long file names
-// it fails with the default setting of 255 characters so
-// we have to set lower limit ourselves
-scalacOptions ++= Seq("-Xmax-classfile-name", "240")
diff --git a/bridge/src/sbt-test/source-dependencies/compactify/project/DottyInjectedPlugin.scala b/bridge/src/sbt-test/source-dependencies/compactify/project/DottyInjectedPlugin.scala
deleted file mode 100644
index 3433779b6..000000000
--- a/bridge/src/sbt-test/source-dependencies/compactify/project/DottyInjectedPlugin.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-import sbt._
-import Keys._
-
-object DottyInjectedPlugin extends AutoPlugin {
- override def requires = plugins.JvmPlugin
- override def trigger = allRequirements
-
- override val projectSettings = Seq(
- scalaVersion := "0.1-SNAPSHOT",
- scalaOrganization := "ch.epfl.lamp",
- scalacOptions += "-language:Scala2",
- scalaBinaryVersion := "2.11",
- autoScalaLibrary := false,
- libraryDependencies ++= Seq("org.scala-lang" % "scala-library" % "2.11.5"),
- scalaCompilerBridgeSource := ("ch.epfl.lamp" % "dotty-bridge" % "0.1.1-SNAPSHOT" % "component").sources()
- )
-}
diff --git a/bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala b/bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala
deleted file mode 100644
index 5d1b8c4db..000000000
--- a/bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/For.scala
+++ /dev/null
@@ -1,44 +0,0 @@
-package somereallylongpackagenamethatwilltestsbtsanalyzer_somereallylongpackagenamethatwilltestsbtsanalyzer.somereallylongpackagenamethatwilltestsbtsanalyzer
-
-object T
-{
- val y = List(3)
- for(a <- y;
- b <- y;
- c <- y;
- d <- y;
- e <- y;
- f <- y;
- g <- y;
- h <- y;
- i <- y;
- j <- y;
- k <- y;
- l <- y;
- m <- y;
- n <- y;
- o <- y;
- p <- y;
- q <- y;
- r <- y;
- s <- y;
- t <- y;
- u <- y;
- v <- y;
- w <- y;
- x <- y;
- yx <- y;
- z <- y;
- aa <- y;
- bb <- y;
- cc <- y;
- dd <- y;
- ee <- y;
- ff <- y;
- gg <- y;
- hh<- y;
- ii <- y;
- jj <- y;
- kk <- y
- ) yield a + b + c + d + e
-} \ No newline at end of file
diff --git a/bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala b/bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala
deleted file mode 100644
index 798868d72..000000000
--- a/bridge/src/sbt-test/source-dependencies/compactify/src/main/scala/Nested.scala
+++ /dev/null
@@ -1,41 +0,0 @@
-package test
-
-object TopLevelModule1
-{
- object InnerModule1
- {
- object InnerModule2
- {
- trait Z { def q = 3 }
- def x = 3
- }
- }
- class InnerClass1
- {
- class InnerClass2
- {
- val z = new TopLevelModule1.InnerClass2
- }
- object InnerModule3
- {
- val y = new TopLevel1 with InnerModule1.InnerModule2.Z { val x = 4 }
- }
- }
- class InnerClass2
-}
-class TopLevel1
-{
- object Inner1_1
-}
-object TopLevel1
-{
- class Inner1_2
- object Inner1_2
-}
-
-object TopLevel2
-class TopLevel2
-
-object TopLevel3
-
-class TopLevel4 \ No newline at end of file
diff --git a/bridge/src/sbt-test/source-dependencies/compactify/test b/bridge/src/sbt-test/source-dependencies/compactify/test
deleted file mode 100644
index e2abf578b..000000000
--- a/bridge/src/sbt-test/source-dependencies/compactify/test
+++ /dev/null
@@ -1,8 +0,0 @@
-# Marked pending due to https://github.com/sbt/sbt/issues/1553
-
-> output-empty
-> compile
--> output-empty
-$ delete src/main/scala/For.scala src/main/scala/Nested.scala
-> compile
-> output-empty \ No newline at end of file