mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-23 14:50:42 +01:00
Turn off logging again Try to move things around even more to make sure zmq is started Turn logging level down to ERROR to hopefully get some meaningful output Adjust both valdiation & ChainHandler to be ERROR level logging switch zmqpubrawblock to be the port we know is free Reduce logging to WARN Bump bitcoind max retries to 120 Fix rebase Revert logging Remove some noisy logs Restore logs to trace level Add explicit tag
40 lines
1.1 KiB
Scala
40 lines
1.1 KiB
Scala
lazy val publishWebsite = taskKey[Unit]("Publish website")
|
|
|
|
publishWebsite := Def
|
|
.sequential(
|
|
Compile / unidoc,
|
|
Compile / docusaurusPublishGhpages
|
|
)
|
|
.value
|
|
|
|
publish / skip := true
|
|
|
|
////////
|
|
/// Mdoc
|
|
|
|
// Without this we get errors on bad links,
|
|
// but those links are to other parts of
|
|
// the website, AKA false errors.
|
|
// See this issue: https://github.com/scalameta/mdoc/issues/94
|
|
mdocExtraArguments := List("--no-link-hygiene")
|
|
|
|
// these variables gets passed to mdoc, and can be read
|
|
// from there
|
|
mdocVariables := Map(
|
|
"STABLE_VERSION" -> "0.5.0",
|
|
"UNSTABLE_VERSION" -> version.value
|
|
)
|
|
|
|
// this expoes the values below as typed values in Scala sources
|
|
enablePlugins(BuildInfoPlugin)
|
|
buildInfoKeys := Seq[BuildInfoKey](mdocVariables, mdocExtraArguments)
|
|
buildInfoPackage := "org.bitcoins.docs"
|
|
|
|
// Mdoc end
|
|
///////
|
|
|
|
Test / bloopGenerate := None
|
|
Compile / bloopGenerate := None
|
|
|
|
//https://stackoverflow.com/questions/26940253/in-sbt-how-do-you-override-scalacoptions-for-console-in-all-configurations
|
|
Compile / scalacOptions ~= (_.filterNot(s => s == "-Xfatal-warnings"))
|