Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab committed Jun 18, 2024
1 parent 396a781 commit 142264c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ project.excludeFilters = [
scalalib/
]
project.git = true
runner.dialect = Scala211
runner.dialect = scala212
26 changes: 21 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
val scala3 = "3.3.3"
val scala3 = "3.3.3"
val scala213 = "2.13.14"
val scala212 = "2.12.19"

inThisBuild(
Seq(
organization := "com.github.lolgab",
version := "0.2.1",
version := "0.3.0",
scalaVersion := scala213,
crossScalaVersions := Seq(scala3, scala213, scala212)
crossScalaVersions := Seq(scala3, scala213, scala212),
versionScheme := Some("early-semver")
)
)

Expand All @@ -25,6 +26,14 @@ val publishSettings = Seq(
url("https://github.com/scala-native/scala-native-loop"),
"scm:git:git@github.com:scala-native/scala-native-loop.git"
)
),
developers := List(
Developer(
id = "lolgab",
name = "Lorenzo Gabriele",
email = "lorenzolespaul@gmail.com",
url = url("https://github.com/lolgab")
)
)
)

Expand All @@ -35,11 +44,11 @@ lazy val commonSettings = Seq(
"utf8",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-Xfatal-warnings"
// "-Wunused:imports"
),
libraryDependencies += "com.lihaoyi" %%% "utest" % "0.8.3" % Test,
testFrameworks += new TestFramework("utest.runner.Framework"),
testFrameworks += new TestFramework("utest.runner.Framework")
)

lazy val core = project
Expand All @@ -56,3 +65,10 @@ lazy val scalaJsCompat = project
.settings(publishSettings)
.enablePlugins(ScalaNativePlugin)
.dependsOn(core)

lazy val root = project
.in(file("."))
.aggregate(core, scalaJsCompat)
.settings(
publish / skip := true
)
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.3")
addSbtPlugin("com.eed3si9n" % "sbt-dirty-money" % "0.2.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.10.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4")

0 comments on commit 142264c

Please sign in to comment.