Skip to content

Commit 01de0ad

Browse files
committed
update default output directory
1 parent cfe33a8 commit 01de0ad

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

modules/sbt/src/main/scala/com/anymindgroup/sbt/PgCodeGenPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ object PgCodeGenPlugin extends AutoPlugin {
5959
pgCodeGenPassword := None,
6060
pgCodeGenSqlSourceDir := file("src") / "main" / "resources" / "db" / "migration",
6161
pgCodeGenOutputPackage := "anychat.chat.db",
62-
pgCodeGenOutputDir := (Compile / sourceManaged).value,
62+
pgCodeGenOutputDir := (Compile / sourceManaged).value / "main",
6363
pgCodeGenExcludedTables := Nil,
6464
pgCodeGenUseDockerImage := Some("postgres:16-alpine"),
6565
pgCodeGen := {
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
> +pgCodeGen
2-
$ exists target/scala-2.13/src_managed/com/example/TestTable.scala
3-
$ exists target/scala-2.13/src_managed/com/example/TestRow.scala
4-
$ exists target/scala-3.3.3/src_managed/com/example/TestTable.scala
5-
$ exists target/scala-3.3.3/src_managed/com/example/TestRow.scala
2+
$ exists target/scala-2.13/src_managed/main/com/example/TestTable.scala
3+
$ exists target/scala-2.13/src_managed/main/com/example/TestRow.scala
4+
$ exists target/scala-3.3.3/src_managed/main/com/example/TestTable.scala
5+
$ exists target/scala-3.3.3/src_managed/main/com/example/TestRow.scala
66
> +compile

0 commit comments

Comments
 (0)