-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
26 lines (20 loc) · 820 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ThisBuild / version := "0.1.2"
ThisBuild / scalaVersion := "2.13.8"
lazy val root = (project in file("."))
.settings(
name := "dry",
assembly / assemblyJarName := "dry-0.1.2.jar",
libraryDependencies ++= Seq(
"org.scalactic" %% "scalactic" % "3.2.17",
"org.scalatest" %% "scalatest" % "3.2.17" % "test",
"org.scalatestplus" %% "scalacheck-1-17" % "3.2.17.0" % "test"
)
)
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xfatal-warnings")
lazy val createTests = taskKey[Unit]("Create tests for the Dry programming language")
createTests := DryTests.createMainTestFile()
lazy val testDry = taskKey[Unit]("Run tests for the Dry programming language")
testDry := {
createTests.value
(runMain in Compile).toTask(" com.melvic.dry.Main tests/tests.dry").value
}