Skip to content

Commit

Permalink
update default output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rolang committed Nov 15, 2024
1 parent cfe33a8 commit 01de0ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ object PgCodeGenPlugin extends AutoPlugin {
pgCodeGenPassword := None,
pgCodeGenSqlSourceDir := file("src") / "main" / "resources" / "db" / "migration",
pgCodeGenOutputPackage := "anychat.chat.db",
pgCodeGenOutputDir := (Compile / sourceManaged).value,
pgCodeGenOutputDir := (Compile / sourceManaged).value / "main",
pgCodeGenExcludedTables := Nil,
pgCodeGenUseDockerImage := Some("postgres:16-alpine"),
pgCodeGen := {
Expand Down
8 changes: 4 additions & 4 deletions modules/sbt/src/sbt-test/test/basic/test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
> +pgCodeGen
$ exists target/scala-2.13/src_managed/com/example/TestTable.scala
$ exists target/scala-2.13/src_managed/com/example/TestRow.scala
$ exists target/scala-3.3.3/src_managed/com/example/TestTable.scala
$ exists target/scala-3.3.3/src_managed/com/example/TestRow.scala
$ exists target/scala-2.13/src_managed/main/com/example/TestTable.scala
$ exists target/scala-2.13/src_managed/main/com/example/TestRow.scala
$ exists target/scala-3.3.3/src_managed/main/com/example/TestTable.scala
$ exists target/scala-3.3.3/src_managed/main/com/example/TestRow.scala
> +compile

0 comments on commit 01de0ad

Please sign in to comment.