aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJon Pretty <jon.pretty@propensive.com>2017-11-03 14:15:07 +0100
committerJon Pretty <jon.pretty@propensive.com>2017-11-03 14:15:07 +0100
commit4d957fd5a35f1d7eed8643b22132b65696c80c8a (patch)
tree9cb14d42927b4f30f7d976f22be96d258b01fd61 /build.sbt
parent25fb02b13b721004269f9bd9a4e5d22c2bb219c4 (diff)
downloadmagnolia-4d957fd5a35f1d7eed8643b22132b65696c80c8a.tar.gz
magnolia-4d957fd5a35f1d7eed8643b22132b65696c80c8a.tar.bz2
magnolia-4d957fd5a35f1d7eed8643b22132b65696c80c8a.zip
Test fixes and other miscellaneous changes
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt16
1 files changed, 15 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index 9fc7552..6ae8750 100644
--- a/build.sbt
+++ b/build.sbt
@@ -45,9 +45,23 @@ lazy val testsJVM = tests.jvm
lazy val testsJS = tests.js
lazy val testsNative = tests.native
+lazy val benchmarks = crossProject(JSPlatform, JVMPlatform, NativePlatform)
+ .crossType(CrossType.Pure)
+ .in(file("benchmarks"))
+ .settings(buildSettings: _*)
+ .settings(noPublishSettings: _*)
+ .settings(moduleName := "magnolia-benchmarks")
+ .settings(quasiQuotesDependencies)
+ .nativeSettings(nativeSettings)
+ .dependsOn(examples)
+
+lazy val benchmarksJVM = benchmarks.jvm
+lazy val benchmarksJS = benchmarks.js
+lazy val benchmarksNative = benchmarks.native
+
lazy val buildSettings = Seq(
organization := "com.propensive",
- scalaVersion := "2.12.2",
+ scalaVersion := "2.12.4",
name := "magnolia",
version := "0.2.0",
scalacOptions ++= Seq("-deprecation", "-feature", "-Ywarn-value-discard", "-Ywarn-dead-code", "-Ywarn-nullary-unit", "-Ywarn-numeric-widen", "-Ywarn-inaccessible", "-Ywarn-adapted-args"),