diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-02 18:07:05 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-02 18:07:05 -0800 |
commit | 753c8dc3b296b8c53e5542a9da192e066beb2eef (patch) | |
tree | 59ec21c51f726437923f46ad21add3942ae496ed /integration/src/test/resource | |
parent | 21478c5fa057d60399f7fdae1ce322ab0a8ea298 (diff) | |
download | mill-753c8dc3b296b8c53e5542a9da192e066beb2eef.tar.gz mill-753c8dc3b296b8c53e5542a9da192e066beb2eef.tar.bz2 mill-753c8dc3b296b8c53e5542a9da192e066beb2eef.zip |
lowercase build module names in `integration/` tests to line up with SBT conventions
Diffstat (limited to 'integration/src/test/resource')
-rw-r--r-- | integration/src/test/resource/better-files/build.sc | 18 | ||||
-rw-r--r-- | integration/src/test/resource/jawn/build.sc | 28 |
2 files changed, 23 insertions, 23 deletions
diff --git a/integration/src/test/resource/better-files/build.sc b/integration/src/test/resource/better-files/build.sc index 6ce3ebf4..2b3f7473 100644 --- a/integration/src/test/resource/better-files/build.sc +++ b/integration/src/test/resource/better-files/build.sc @@ -53,27 +53,27 @@ trait BetterFilesModule extends SbtModule{ outer => override def javacOptions = Seq("-source", "1.8", "-target", "1.8", "-Xlint") object test extends this.Tests{ def projectDeps = - if (this == Core.test) Seq(Core) - else Seq(outer, Core.test) + if (this == core.test) Seq(core) + else Seq(outer, core.test) def ivyDeps = Seq(Dep("org.scalatest", "scalatest", "3.0.4")) def testFramework = "org.scalatest.tools.Framework" } } -object Core extends BetterFilesModule{ +object core extends BetterFilesModule{ def basePath = ammonite.ops.pwd / 'target / 'workspace / "better-files" / 'core } -object Akka extends BetterFilesModule{ - def projectDeps = Seq(Core) +object akka extends BetterFilesModule{ + def projectDeps = Seq(core) def basePath = ammonite.ops.pwd / 'target / 'workspace / "better-files" / 'akka def ivyDeps = Seq(Dep("com.typesafe.akka", "akka-actor", "2.5.6")) } -object ShapelessScanner extends BetterFilesModule{ - def projectDeps = Seq(Core) +object shapelessScanner extends BetterFilesModule{ + def projectDeps = Seq(core) def basePath = ammonite.ops.pwd / 'target / 'workspace / "better-files" / 'shapeless def ivyDeps = Seq(Dep("com.chuusai", "shapeless", "2.3.2")) } -object Benchmarks extends BetterFilesModule{ - def projectDeps = Seq(Core) +object benchmarks extends BetterFilesModule{ + def projectDeps = Seq(core) def basePath = ammonite.ops.pwd / 'target / 'workspace / "better-files" / 'benchmarks def ivyDeps = Seq( Dep.Java("commons-io", "commons-io", "2.5") diff --git a/integration/src/test/resource/jawn/build.sc b/integration/src/test/resource/jawn/build.sc index c23a4ec7..60faf70b 100644 --- a/integration/src/test/resource/jawn/build.sc +++ b/integration/src/test/resource/jawn/build.sc @@ -22,28 +22,28 @@ val jawn = for{ def testFramework = "org.scalatest.tools.Framework" } } - object Parser extends JawnModule{ + object parser extends JawnModule{ def basePath = ammonite.ops.pwd / 'target / 'workspace / 'jawn / 'parser } - object Util extends JawnModule{ - def projectDeps = Seq(Parser) - def testProjectDeps = Seq(Parser.test) + object util extends JawnModule{ + def projectDeps = Seq(parser) + def testProjectDeps = Seq(parser.test) def basePath = ammonite.ops.pwd / 'target / 'workspace / 'jawn / 'util } - object Ast extends JawnModule{ - def projectDeps = Seq(Parser, Util) - def testProjectDeps = Seq(Parser.test, Util.test) + object ast extends JawnModule{ + def projectDeps = Seq(parser, util) + def testProjectDeps = Seq(parser.test, util.test) def basePath = ammonite.ops.pwd / 'target / 'workspace / 'jawn / 'ast } class Support(name: String, ivyDeps0: Dep*) extends JawnModule{ - def projectDeps = Seq[Module](Parser) + def projectDeps = Seq[Module](parser) def basePath = ammonite.ops.pwd / 'target / 'workspace / 'jawn / 'support / name def ivyDeps = ivyDeps0 } - object Argonaut extends Support("argonaut", Dep("io.argonaut", "argonaut", "6.2")) - object Json4s extends Support("json4s", Dep("org.json4s", "json4s-ast", "3.5.2")) + object argonaut extends Support("argonaut", Dep("io.argonaut", "argonaut", "6.2")) + object json4s extends Support("json4s", Dep("org.json4s", "json4s-ast", "3.5.2")) - object Play extends Support("play"){ + object play extends Support("play"){ def ivyDeps = mill.T{ scalaBinaryVersion() match{ case "2.10" => Seq(Dep("com.typesafe.play", "play-json", "2.4.11")) @@ -53,7 +53,7 @@ val jawn = for{ } } - object Rojoma extends Support("rojoma", Dep("com.rojoma", "rojoma-json", "2.4.3")) - object RojomaV3 extends Support("rojoma-v3", Dep("com.rojoma", "rojoma-json-v3", "3.7.2")) - object Spray extends Support("spray", Dep("io.spray", "spray-json", "1.3.3")) + object rojoma extends Support("rojoma", Dep("com.rojoma", "rojoma-json", "2.4.3")) + object rojomaV3 extends Support("rojoma-v3", Dep("com.rojoma", "rojoma-json-v3", "3.7.2")) + object spray extends Support("spray", Dep("io.spray", "spray-json", "1.3.3")) }
\ No newline at end of file |