Skip to content

Commit

Permalink
Revert commit(s) 9c12c2a, e24957c
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward-yyu[bot] committed Sep 2, 2023
1 parent 9c12c2a commit 81dffe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lazy val root = project.in(file("."))
featherweightGoJVM
)

lazy val featherweightGo = ((file(".") / crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Full)))
lazy val featherweightGo = (crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Full) in file("."))
.settings(
scalaVersion := scala213Version,
scalacOptions ++= defaultScalacOptions,
Expand All @@ -38,7 +38,7 @@ lazy val featherweightGo = ((file(".") / crossProject(JVMPlatform, JSPlatform).c
)
.jsSettings(
scalacOptions += {
val a = ((LocalRootProject / baseDirectory)).value.toURI.toString
val a = (baseDirectory in LocalRootProject).value.toURI.toString
val g = "https://raw.githubusercontent.com/y-yu/featherweight_go/" + tagOrHash.value
s"-P:scalajs:mapSourceURI:$a->$g/"
}
Expand All @@ -47,7 +47,7 @@ lazy val featherweightGo = ((file(".") / crossProject(JVMPlatform, JSPlatform).c
mainClass := Some("featherweightgo.Main")
)

lazy val featherweightGoCore = ((file("./core") / crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Pure)))
lazy val featherweightGoCore = (crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Pure) in file("./core"))
.settings(
organization := "com.github.y-yu",
name := "featherweight_go",
Expand Down Expand Up @@ -78,7 +78,7 @@ lazy val publishSettings = Seq(
else
Opts.resolver.sonatypeStaging
),
(Test / publishArtifact) := false,
publishArtifact in Test := false,
pomExtra :=
<developers>
<developer>
Expand Down Expand Up @@ -113,7 +113,7 @@ lazy val publishSettings = Seq(
)

val tagName = Def.setting {
s"v${if (releaseUseGlobalVersion.value) ((ThisBuild / version)).value else version.value}"
s"v${if (releaseUseGlobalVersion.value) (version in ThisBuild).value else version.value}"
}

val tagOrHash = Def.setting {
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.4
sbt.version=1.4.9

0 comments on commit 81dffe4

Please sign in to comment.