Skip to content

Commit

Permalink
Merge pull request #110 from xuwei-k/postfixOps
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n authored Oct 15, 2024
2 parents 03ee03a + a8aa585 commit 7399c14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/Transform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ object Transform {
val ss = inputSources.value
val sdirs = inputSourceDirectories.value
val sm = sourceManaged.value
(ss --- sdirs) pair (rebase(sdirs, sm) | flat(sm)) toSeq
(ss --- sdirs).pair(rebase(sdirs, sm) | flat(sm)).toSeq
}
def configSettings = transResourceSettings ++ Seq(
resourceProperties := {
Expand Down Expand Up @@ -95,7 +95,7 @@ object Transform {
val rs = inputResources.value
val rdirs = inputResourceDirectories.value
val rm = resourceManaged.value
(rs --- rdirs) pair (rebase(rdirs, rm) | flat(rm)) toSeq
(rs --- rdirs).pair(rebase(rdirs, rm) | flat(rm)).toSeq
}

def transform(in: File, out: File, map: Map[String, String]): File = {
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ addSbtPlugin("com.github.sbt" % "sbt-proguard" % "0.5.0")
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("io.get-coursier" % "sbt-shading" % "2.1.5")

scalacOptions += "-feature"

0 comments on commit 7399c14

Please sign in to comment.