Skip to content

Commit 142264c

Browse files
committed
Fix publishing
1 parent 396a781 commit 142264c

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

.scalafmt.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ project.excludeFilters = [
66
scalalib/
77
]
88
project.git = true
9-
runner.dialect = Scala211
9+
runner.dialect = scala212

build.sbt

+21-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
val scala3 = "3.3.3"
1+
val scala3 = "3.3.3"
22
val scala213 = "2.13.14"
33
val scala212 = "2.12.19"
44

55
inThisBuild(
66
Seq(
77
organization := "com.github.lolgab",
8-
version := "0.2.1",
8+
version := "0.3.0",
99
scalaVersion := scala213,
10-
crossScalaVersions := Seq(scala3, scala213, scala212)
10+
crossScalaVersions := Seq(scala3, scala213, scala212),
11+
versionScheme := Some("early-semver")
1112
)
1213
)
1314

@@ -25,6 +26,14 @@ val publishSettings = Seq(
2526
url("https://github.com/scala-native/scala-native-loop"),
2627
"scm:git:[email protected]:scala-native/scala-native-loop.git"
2728
)
29+
),
30+
developers := List(
31+
Developer(
32+
id = "lolgab",
33+
name = "Lorenzo Gabriele",
34+
email = "[email protected]",
35+
url = url("https://github.com/lolgab")
36+
)
2837
)
2938
)
3039

@@ -35,11 +44,11 @@ lazy val commonSettings = Seq(
3544
"utf8",
3645
"-feature",
3746
"-unchecked",
38-
"-Xfatal-warnings",
47+
"-Xfatal-warnings"
3948
// "-Wunused:imports"
4049
),
4150
libraryDependencies += "com.lihaoyi" %%% "utest" % "0.8.3" % Test,
42-
testFrameworks += new TestFramework("utest.runner.Framework"),
51+
testFrameworks += new TestFramework("utest.runner.Framework")
4352
)
4453

4554
lazy val core = project
@@ -56,3 +65,10 @@ lazy val scalaJsCompat = project
5665
.settings(publishSettings)
5766
.enablePlugins(ScalaNativePlugin)
5867
.dependsOn(core)
68+
69+
lazy val root = project
70+
.in(file("."))
71+
.aggregate(core, scalaJsCompat)
72+
.settings(
73+
publish / skip := true
74+
)

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.3")
22
addSbtPlugin("com.eed3si9n" % "sbt-dirty-money" % "0.2.0")
33
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
4-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4")
4+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.10.0")
55
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4")

0 commit comments

Comments
 (0)