forked from Tobias-Kohn/TigerPython-Parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
20 lines (17 loc) · 636 Bytes
/
build.sbt
File metadata and controls
20 lines (17 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
val sharedSettings = Seq(
scalaVersion := "2.13.2",
name := "TigerPython Parser",
version := "1.0",
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.8",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "test"
)
lazy val tpParser =
crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Full)
.settings(sharedSettings)
.jsSettings(
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.9.8",
// scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.ESModule) }
)
.jvmSettings()