Skip to content

Commit

Permalink
Simplify Build a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Mar 4, 2016
1 parent 450d1a1 commit d133879
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,6 @@ object Build extends sbt.Build {
case (false, _) ""
}

val preventPublication: PE =
_.settings(
publishTo := Some(Resolver.file("Unused transient repository", target.value / "fakepublish")),
publishArtifact := false,
publishLocalSigned := (), // doesn't work
publishSigned := (), // doesn't work
packagedArtifacts := Map.empty)

val hasNoTests: PE =
_.settings(
sbt.Keys.test in Test := (),
testOnly in Test := (),
testQuick in Test := ()
)

val sharedDeps = Def.setting(Seq(
"org.scalatest" %%% "scalatest" % "3.0.0-M15" % Test
))
Expand All @@ -108,6 +93,4 @@ object Build extends sbt.Build {

val jvm = stringifiers.jvm
val js = stringifiers.js

val root = project.aggregate(jvm, js).configure(hasNoTests, preventPublication)
}

0 comments on commit d133879

Please sign in to comment.