6502-opcodes/project/CatsEffectForkPlugin.scala

21 lines
521 B
Scala
Raw Normal View History

2023-09-29 11:10:39 -04:00
import sbt.*
import sbt.Keys.*
/**
* Automatically enriches projects with the following settings (despite the word "override").
*/
object CatsEffectForkPlugin extends AutoPlugin {
/**
* Thus plug-in will automatically be enabled; it has no requirements.
*/
override def trigger: PluginTrigger =
AllRequirements
// cats-effect prefers to run in its own main thread
// https://github.com/typelevel/cats-effect/pull/3774
2023-10-03 16:15:10 -04:00
override val buildSettings: Seq[Setting[?]] = Seq(
2023-09-29 11:10:39 -04:00
fork := true
)
}