Skip to content

Commit

Permalink
Bump examples to version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrdom committed Mar 23, 2024
1 parent 23ef993 commit 04e7533
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 71 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-electron" % ???)
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-electron" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1,32 +1 @@
val sourcePlugins = sys.props
.get("plugin.version")
.map { version =>
println(s"Using plugin(s) version [$version]")
Seq.empty
}
.getOrElse {
println("Building plugin(s) from source")
Seq(
ProjectRef(
file("../../../../../../"),
"sbt-scalajs-esbuild-electron"
): ClasspathDep[ProjectReference]
)
}

lazy val root = (project in file("."))
.dependsOn(sourcePlugins: _*)

if (sourcePlugins.nonEmpty) {
Seq.empty
} else {
val scalaJSEsbuildVersion = sys.props.getOrElse(
"plugin.version",
sys.error("'plugin.version' environment variable is not set")
)
Seq(
addSbtPlugin(
"me.ptrdom" % "sbt-scalajs-esbuild-electron" % scalaJSEsbuildVersion
)
)
}
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-electron" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1,32 +1 @@
val sourcePlugins = sys.props
.get("plugin.version")
.map { version =>
println(s"Using plugin(s) version [$version]")
Seq.empty
}
.getOrElse {
println("Building plugin(s) from source")
Seq(
ProjectRef(
file("../../../../../../"),
"sbt-scalajs-esbuild-electron"
): ClasspathDep[ProjectReference]
)
}

lazy val root = (project in file("."))
.dependsOn(sourcePlugins: _*)

if (sourcePlugins.nonEmpty) {
Seq.empty
} else {
val scalaJSEsbuildVersion = sys.props.getOrElse(
"plugin.version",
sys.error("'plugin.version' environment variable is not set")
)
Seq(
addSbtPlugin(
"me.ptrdom" % "sbt-scalajs-esbuild-electron" % scalaJSEsbuildVersion
)
)
}
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-electron" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-electron" % ???)
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-electron" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-web" % ???)
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-web" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-web" % ???)
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild-web" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild" % ???)
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild" % ???)
addSbtPlugin("me.ptrdom" % "sbt-scalajs-esbuild" % "0.1.0")
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("me.ptrdom" % "sbt-web-scalajs-esbuild" % ???)
addSbtPlugin("me.ptrdom" % "sbt-web-scalajs-esbuild" % "0.1.0")

0 comments on commit 04e7533

Please sign in to comment.