summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-01-20 03:49:17 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-01-20 03:49:17 -0800
commitd14f56a3fd881f809e58783c49866d1491a5f3fe (patch)
tree4a9f93d3d7f69211aa444ce15837fe6e79b9db7f /build.sbt
parentaebd7a144fab5bdb95f6ee4f4bc170be65cd0549 (diff)
downloadmill-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 'build.sbt')
-rw-r--r--build.sbt6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index e3a7e00d..02ffcfed 100644
--- a/build.sbt
+++ b/build.sbt
@@ -9,6 +9,11 @@ val sharedSettings = Seq(
testFrameworks += new TestFramework("mill.UTestFramework"),
+ scalaSource in Compile := baseDirectory.value / "src",
+ resourceDirectory in Compile := baseDirectory.value / "resources",
+
+ scalaSource in Test := baseDirectory.value / "test" / "src",
+ resourceDirectory in Test := baseDirectory.value / "test" / "resources",
parallelExecution in Test := false,
test in assembly := {},
@@ -164,6 +169,7 @@ def jsbridge(binary: String, version: String) =
base = file("scalajslib/jsbridges/" + binary)
)
.settings(
+ sharedSettings,
organization := "com.lihaoyi",
scalaVersion := "2.12.4",
name := "mill-js-bridge",