mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 09:52:09 +01:00
11e365a511
MVP working for zmq notifications removing logging, making block header generators less likely to fail subscribing earlier in zmq life cycle refactoring some zmq stuff to remove excess Futures Adding error condition to processMsg loop changing error message in processMsg loop refactoring ZMQSubscriber api to just take in Seq[Byte] functions cleaning up nits, adding documentation, list shortcomings of current iteration
40 lines
897 B
Scala
40 lines
897 B
Scala
import Deps._
|
|
|
|
lazy val commonSettings = Seq(
|
|
organization := "org.bitcoins",
|
|
version := "0.0.1-SNAPSHOT",
|
|
scalaVersion := "2.11.7"
|
|
)
|
|
|
|
|
|
lazy val appName = "bitcoin-s-core"
|
|
|
|
lazy val root = Project(appName, file(".")).enablePlugins().settings(
|
|
commonSettings,
|
|
libraryDependencies ++= Deps.root
|
|
)
|
|
|
|
lazy val zmq = Project("bitcoin-s-zmq", file("zmq")).enablePlugins().settings(
|
|
commonSettings,
|
|
libraryDependencies ++= Deps.zmq
|
|
).dependsOn(root)
|
|
|
|
|
|
//test in assembly := {}
|
|
|
|
testOptions in Test += Tests.Argument(TestFrameworks.ScalaCheck, "-verbosity", "2")
|
|
|
|
//testOptions in Test += Tests.Argument("-oF")
|
|
|
|
//parallelExecution in Test := false
|
|
|
|
coverageExcludedPackages := ".*gen"
|
|
|
|
coverageMinimum := 90
|
|
|
|
coverageFailOnMinimum := true
|
|
|
|
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)
|
|
|
|
scalacOptions ++= Seq("-Xmax-classfile-name", "140")
|