mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
exclude filter for local.conf (#267)
* exclude `modules/portal/conf/local.conf` from packaging
This commit is contained in:
parent
fc15590a55
commit
3c4c5f2e99
10
build.sbt
10
build.sbt
@ -171,7 +171,15 @@ lazy val apiPublishSettings = Seq(
|
||||
lazy val portalPublishSettings = Seq(
|
||||
publishArtifact := false,
|
||||
publishLocal := (publishLocal in Docker).value,
|
||||
publish := (publish in Docker).value
|
||||
publish := (publish in Docker).value,
|
||||
// for sbt-native-packager (docker) to exclude local.conf
|
||||
mappings in Universal ~= ( _.filterNot {
|
||||
case (file, _) => file.getName.equals("local.conf")
|
||||
}),
|
||||
// for local.conf to be excluded in jars
|
||||
mappings in (Compile, packageBin) ~= ( _.filterNot {
|
||||
case (file, _) => file.getName.equals("local.conf")
|
||||
})
|
||||
)
|
||||
|
||||
lazy val pbSettings = Seq(
|
||||
|
Loading…
x
Reference in New Issue
Block a user