From 4d957fd5a35f1d7eed8643b22132b65696c80c8a Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Fri, 3 Nov 2017 14:15:07 +0100 Subject: Test fixes and other miscellaneous changes --- build.sbt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'build.sbt') 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"), -- cgit v1.2.3