Skip to content

Commit

Permalink
Add golemScalaOutputDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
danieletorelli committed May 8, 2024
1 parent 8463f5b commit 8b839e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/cloud/golem/GolemScalaPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import sbt.plugins.JvmPlugin

object GolemScalaPlugin extends AutoPlugin {
object autoImport {
lazy val golemScalaOutputDirectory = settingKey[File]("Output directory")
lazy val golemScalaWitPath = settingKey[File]("Path to the wit file")
lazy val golemScalaPackageName = settingKey[String]("Package name")
lazy val witBindgen =
Expand Down
1 change: 1 addition & 0 deletions src/main/scala/cloud/golem/GolemScalaPluginInternal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ private[golem] object GolemScalaPluginInternal {

lazy val baseSettings: Seq[Setting[?]] =
Def.settings(
golemScalaOutputDirectory := (ThisBuild / target).value / s"${(ThisBuild / moduleName).value}-opt",
golemScalaWitPath := (ThisBuild / baseDirectory).value / "wit",
golemScalaPackageName := "main",
witBindgen := {
Expand Down

0 comments on commit 8b839e3

Please sign in to comment.