Skip to content

Commit

Permalink
Merge pull request #43 from disneystreaming/dfrancoeur/scala-steward-…
Browse files Browse the repository at this point in the history
…paths

Add relevant files to scala-steward config
  • Loading branch information
daddykotex authored Dec 18, 2023
2 parents cb6badb + 681d2e0 commit 6fc2107
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .scala-steward.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
updates.fileExtensions = [
"build.sbt",
"src/main/g8/build.sbt",
"mill/build.sc",
"src/main/g8/$if(mill.truthy)$.$endif$/build.sc",
"src/main/g8/$if(sbt.truthy)$.$endif$/build.sbt",
"src/main/g8/smithy-build.json",
"mill/smithy-build.json"
]
9 changes: 9 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
lazy val root = (project in file("."))
.enablePlugins(ScriptedPlugin)
.settings(phantomDeps)
.settings(
name := "smithy4s.g8",
Test / test := {
Expand All @@ -13,3 +14,11 @@ lazy val root = (project in file("."))
"-Dfile.encoding=UTF-8"
)
)

// https://github.com/scala-steward-org/scala-steward/issues/1286#issuecomment-582083463
// ensuring deps are updated inside of templates files
lazy val phantomDeps = Def.settings(
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-server" % "0.23.16"
)
)

0 comments on commit 6fc2107

Please sign in to comment.