diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-20 03:49:17 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-20 03:49:17 -0800 |
commit | d14f56a3fd881f809e58783c49866d1491a5f3fe (patch) | |
tree | 4a9f93d3d7f69211aa444ce15837fe6e79b9db7f /integration/test/resources/acyclic | |
parent | aebd7a144fab5bdb95f6ee4f4bc170be65cd0549 (diff) | |
download | mill-d14f56a3fd881f809e58783c49866d1491a5f3fe.tar.gz mill-d14f56a3fd881f809e58783c49866d1491a5f3fe.tar.bz2 mill-d14f56a3fd881f809e58783c49866d1491a5f3fe.zip |
Swap over to simplified Mill module/source layout from SBT's
Removes a lot of useless folders and gives us a chance to exercise this simplified layout. Support for the SBT layout is still verified by our integration tests
Diffstat (limited to 'integration/test/resources/acyclic')
-rw-r--r-- | integration/test/resources/acyclic/build.sc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/integration/test/resources/acyclic/build.sc b/integration/test/resources/acyclic/build.sc new file mode 100644 index 00000000..b8f878ad --- /dev/null +++ b/integration/test/resources/acyclic/build.sc @@ -0,0 +1,37 @@ +import mill.Cross +import mill.scalalib.{SbtModule, PublishModule, Dep, CrossSbtModule, DepSyntax} +import mill.scalalib.publish.{PomSettings, License, Developer, SCM} + +object acyclic extends Cross[AcyclicModule]("2.10.6", "2.11.8", "2.12.3", "2.12.4") +class AcyclicModule(val crossScalaVersion: String) extends CrossSbtModule with PublishModule { + def basePath = super.basePath / ammonite.ops.up + def artifactName = "acyclic" + def publishVersion = "0.1.7" + + def pomSettings = PomSettings( + description = artifactName(), + organization = "com.lihaoyi", + url = "https://github.com/lihaoyi/acyclic", + licenses = Seq( + License("MIT license", "http://www.opensource.org/licenses/mit-license.php") + ), + scm = SCM( + "git://github.com/lihaoyi/acyclic.git", + "scm:git://github.com/lihaoyi/acyclic.git" + ), + developers = Seq( + Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi") + ) + ) + + def ivyDeps = Agg( + ivy"org.scala-lang:scala-compiler:${scalaVersion()}" + ) + object test extends Tests{ + def forkWorkingDir = ammonite.ops.pwd / 'target / 'workspace / 'acyclic + def ivyDeps = Agg( + ivy"com.lihaoyi::utest:0.6.0" + ) + def testFramework = "utest.runner.Framework" + } +}
\ No newline at end of file |