Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 23a6b01

Browse files
author
exoego
committed
Add v10
1 parent 054bf67 commit 23a6b01

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

build.sbt

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,29 @@ lazy val current = (project in file("./app/current"))
103103
)
104104
.dependsOn(core, compilerSwitches)
105105

106+
lazy val nodejs_v10 = (project in file("./app/nodejs-v10"))
107+
.enablePlugins(ScalaJSPlugin)
108+
.settings(commonSettings)
109+
.settings(commonScalaJsSettings)
110+
.settings(commonMacroParadiseSetting)
111+
.settings(publishingSettings)
112+
.settings(
113+
unmanagedSourceDirectories in Compile += (baseDirectory in current).value / "src" / "main" / "scala",
114+
scalacOptions ++= Seq(
115+
"-Xmacro-settings:nodeJs10.16.0"
116+
),
117+
name := "scala-js-nodejs-v10",
118+
description := "NodeJS v10.16.0 API for Scala.js",
119+
homepage := Some(url("https://github.com/exoego/scala-js-nodejs")),
120+
libraryDependencies ++= Seq(
121+
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
122+
"org.scalactic" %% "scalactic" % scalacticVersion,
123+
"org.scalatest" %%% "scalatest" % scalatestVersion % "test",
124+
"com.thoughtworks.enableIf" %% "enableif" % enableIfVersion
125+
)
126+
)
127+
.dependsOn(core, compilerSwitches)
128+
106129
lazy val nodejs_v8 = (project in file("./app/nodejs-v8"))
107130
.enablePlugins(ScalaJSPlugin)
108131
.settings(commonSettings)
@@ -115,7 +138,7 @@ lazy val nodejs_v8 = (project in file("./app/nodejs-v8"))
115138
"-Xmacro-settings:nodeJs8.16.0"
116139
),
117140
name := "scala-js-nodejs-v8",
118-
description := "NodeJS v8.7.0 API for Scala.js",
141+
description := "NodeJS v8.16.0 API for Scala.js",
119142
homepage := Some(url("https://github.com/exoego/scala-js-nodejs")),
120143
libraryDependencies ++= Seq(
121144
"org.scala-lang" % "scala-reflect" % scalaVersion.value,

0 commit comments

Comments
 (0)